-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
executable file
·47 lines (42 loc) · 1.13 KB
/
settings.gradle.kts
File metadata and controls
executable file
·47 lines (42 loc) · 1.13 KB
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
pluginManagement {
repositories {
mavenCentral()
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
gradlePluginPortal()
}
}
plugins {
id("com.gradle.develocity") version "4.3.2"
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
// TODO: workaround for https://github.com/gradle/gradle/issues/22879.
val isCI = providers.environmentVariable("CI").isPresent
publishing.onlyIf { isCI }
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
maven("https://storage.googleapis.com/r8-releases/raw")
}
}
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
"This project needs to be run with Java 21 or higher (found: ${JavaVersion.current()})."
}