forked from wordpress-mobile/WordPress-FluxC-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
89 lines (82 loc) · 2.76 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
pluginManagement {
repositories {
exclusiveContent {
forRepository {
maven {
url = uri("https://a8c-libs.s3.amazonaws.com/android")
}
}
filter {
includeGroup "com.automattic.android"
includeGroup "com.automattic.android.configure"
includeGroup "com.automattic.android.fetchstyle"
includeGroup "com.automattic.android.publish-to-s3"
}
}
gradlePluginPortal()
google()
}
}
plugins {
id 'com.gradle.enterprise' version '3.9'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.6.5'
}
def catalogVersion = "1.3.0"
dependencyResolutionManagement {
repositories {
exclusiveContent {
forRepository {
maven {
url = uri("https://a8c-libs.s3.amazonaws.com/android")
}
}
filter {
includeModule("com.automattic", "dependency-catalog")
}
}
}
versionCatalogs {
sharedLibs {
from("com.automattic:dependency-catalog:$catalogVersion")
version("androidx-annotation", "1.0.2")
version("androidx-appcompat", "1.0.2")
version("androidx-constraintlayout", "1.1.3")
version("androidx-recyclerview", "1.0.0")
version("apache-commons-text", "1.1")
version("facebook-flipper", "0.51.0")
version("facebook-soloader", "0.9.0")
version("kotlinx-coroutines", "1.3.9")
version("mockito", "3.3.3")
version("wordpress-utils", "develop-eebc5d8e91a1d90190919f900f924b39c861a528")
}
}
}
gradleEnterprise {
server = "https://gradle.a8c.com"
allowUntrustedServer = false
buildScan {
def disableGE = System.getenv("GRADLE_ENTERPRISE_ANALYTICS_DISABLE")
if (!(disableGE == "1" || disableGE == "true")) {
publishAlways()
}
capture {
taskInputFiles = true
}
uploadInBackground = System.getenv("CI") == null
if (!System.getenv().containsKey("CI")) {
// Obfuscate personal data unless it's a CI build
obfuscation {
username { username -> System.getenv("GRADLE_ENTERPRISE_ANALYTICS_USERNAME") ?: username }
hostname { hostname -> System.getenv("GRADLE_ENTERPRISE_ANALYTICS_HOSTNAME") ?: hostname }
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
}
}
}
rootProject.name = 'FluxC'
include ':fluxc',
':fluxc-processor',
':fluxc-annotations',
':plugins:woocommerce',
':example',
':tests:api'