-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle
60 lines (57 loc) · 2.12 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
pluginManagement {
gradle.ext.kotlinVersion = '1.9.24'
gradle.ext.daggerVersion = '2.46.1'
gradle.ext.agpVersion = '8.1.0'
gradle.ext.detektVersion = '1.19.0'
gradle.ext.automatticPublishToS3Version = '0.8.0'
gradle.ext.dependencyAnalysisVersion = '1.33.0'
plugins {
id 'io.gitlab.arturbosch.detekt' version gradle.ext.detektVersion
id 'org.jetbrains.kotlin.android' version gradle.ext.kotlinVersion
id 'org.jetbrains.kotlin.jvm' version gradle.ext.kotlinVersion
id 'org.jetbrains.kotlin.plugin.parcelize' 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 'dagger.hilt.android.plugin'
id "com.automattic.android.publish-to-s3" version gradle.ext.automatticPublishToS3Version
id "com.autonomousapps.dependency-analysis" version gradle.ext.dependencyAnalysisVersion
}
repositories {
maven {
url 'https://a8c-libs.s3.amazonaws.com/android'
content {
includeGroup "com.automattic.android"
includeGroup "com.automattic.android.publish-to-s3"
}
}
google()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id.contains("hilt")) {
useModule("com.google.dagger:hilt-android-gradle-plugin:$gradle.ext.daggerVersion")
}
}
}
}
rootProject.name = "Media Picker"
include ':mediapicker',
':mediapicker:domain',
':mediapicker:source-device',
':mediapicker:source-camera',
':mediapicker:source-gif',
':mediapicker:source-wordpress',
':sampleapp'
// 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
}
}
}