forked from wordpress-mobile/WordPress-FluxC-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
58 lines (55 loc) · 1.96 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
pluginManagement {
gradle.ext.kotlinVersion = '1.4.10'
gradle.ext.agpVersion = '4.2.2'
plugins {
id "org.jetbrains.kotlin.android" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.android.extensions" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.jvm" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.kapt" version gradle.ext.kotlinVersion
id "com.android.application" version gradle.ext.agpVersion
id "com.android.library" version gradle.ext.agpVersion
id "com.automattic.android.publish-to-s3" version "0.7.0"
}
repositories {
maven {
url 'https://a8c-libs.s3.amazonaws.com/android'
content {
includeGroup "com.automattic.android"
includeGroup "com.automattic.android.publish-to-s3"
}
}
gradlePluginPortal()
google()
jcenter()
}
resolutionStrategy {
eachPlugin {
// TODO: Remove this as soon as fetchstyle starts supporting Plugin Marker Artifacts
if (requested.id.id == "com.automattic.android.fetchstyle") {
useModule("com.automattic.android:fetchstyle:1.1")
}
// TODO: Remove this as soon as configure starts supporting Plugin Marker Artifacts
if (requested.id.id == "com.automattic.android.configure") {
useModule("com.automattic.android:configure:0.6.1")
}
}
}
}
include ':fluxc',
':fluxc-processor',
':fluxc-annotations',
':plugins:woocommerce',
':example',
':instaflux',
':tests:api'
// Build cache is only enabled for CI, at least for now
if (System.getenv().containsKey("CI")) {
buildCache {
remote(HttpBuildCache) {
url = "http://10.0.2.215:5071/cache/"
allowUntrustedServer = true
allowInsecureProtocol = true
push = true
}
}
}