-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
54 lines (47 loc) · 1.1 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("androidx.*")
}
}
gradlePluginPortal()
mavenCentral()
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google {
content {
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "gradle-conventions"
plugins {
id("com.gradle.develocity") version "3.19"
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include("conventions-base")
include("conventions-detekt")
include("conventions-kotlin")
include("conventions-plugin")
develocity {
val isCI = System.getenv("CI") != null
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
publishing.onlyIf { isCI }
if(isCI) {
termsOfUseAgree = "yes"
}
}
}