-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
settings.gradle.kts
39 lines (34 loc) · 976 Bytes
/
settings.gradle.kts
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
pluginManagement {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
}
plugins {
id("com.gradle.develocity") version "3.18.1"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
dependencyResolutionManagement {
repositories {
// To download the Android Gradle Plugin
google {
content {
includeGroupByRegex(".*android.*")
}
}
// To download trove4j required by the Android Gradle Plugin
mavenCentral()
}
}
rootProject.name = "spotbugs-gradle-plugin"
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 }
}
}
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")