-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
74 lines (65 loc) · 1.84 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
import org.gradle.api.initialization.resolve.RepositoriesMode
pluginManagement {
includeBuild("gradle/plugins-inventory")
repositories {
google()
mavenCentral()
exclusiveContent {
forRepository {
gradlePluginPortal()
}
filter {
includeModule("com.gradle.develocity", "com.gradle.develocity.gradle.plugin")
includeModule("com.gradle", "develocity-gradle-plugin")
}
}
}
}
plugins {
id("net.twisterrob.gradle.plugin.settings") version "0.17"
id("com.gradle.develocity") version "3.19"
}
// TODO IsCIKt.CI is not visible in settings.gradle.
def CI = System.getenv("GITHUB_ACTIONS") == "true"
dependencyResolutionManagement {
includeBuild("gradle/platform-inventory")
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
ivy {
name = "GitHub raw"
url = "https://github.com/"
patternLayout { artifact("/[organisation]/raw/[revision]/[module].[ext]") }
metadataSources.artifact()
}
}
}
rootProject.name = 'Inventory'
include(":android")
include(":android:base")
include(":android:test_helpers")
includeWithContract(":android:database")
include(":android:database:test_helpers")
include(":android:database:sqlite3")
include(":android:preferences")
include(":android:data")
include(":android:data:svg")
include(":android:backup")
include(":android:space")
include(":tools:transform")
void includeWithContract(String projectPath) {
include(projectPath)
def contractProjectPath = "${projectPath}-contract"
include(contractProjectPath)
project(contractProjectPath).projectDir = new File(project(projectPath).projectDir, "contract")
}
includeBuild("libs") { build ->
apply from: new File(build.projectDir, "gradle/settings.substitutions.gradle"), to: build
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
}
}