-
-
Notifications
You must be signed in to change notification settings - Fork 783
/
Copy pathsettings.gradle.kts
78 lines (69 loc) · 2.04 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
rootProject.name = "detekt"
pluginManagement {
includeBuild("build-logic")
includeBuild("detekt-gradle-plugin")
}
include("code-coverage-report")
include("detekt-api")
include("detekt-cli")
include("detekt-compiler-plugin")
include("detekt-core")
include("detekt-formatting")
include("detekt-generator")
include("detekt-metrics")
include("detekt-parser")
include("detekt-psi-utils")
include("detekt-report-html")
include("detekt-report-md")
include("detekt-report-sarif")
include("detekt-report-xml")
include("detekt-rules")
include("detekt-rules-complexity")
include("detekt-rules-coroutines")
include("detekt-rules-documentation")
include("detekt-rules-empty")
include("detekt-rules-errorprone")
include("detekt-rules-exceptions")
include("detekt-rules-libraries")
include("detekt-rules-naming")
include("detekt-rules-performance")
include("detekt-rules-ruleauthors")
include("detekt-rules-style")
include("detekt-test")
include("detekt-test-utils")
include("detekt-tooling")
include("detekt-utils")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
plugins {
id("com.gradle.develocity") version "3.19"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0.2"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}
val isCiBuild = providers.environmentVariable("CI").isPresent
develocity {
buildScan {
// Publish to scans.gradle.com when `--scan` is used explicitly
if (!gradle.startParameter.isBuildScan) {
server = "https://ge.detekt.dev"
publishing.onlyIf { it.isAuthenticated }
}
uploadInBackground = !isCiBuild
}
}
// Ensure buildCache config is kept in sync with all builds (root, build-logic & detekt-gradle-plugin)
buildCache {
local {
isEnabled = !isCiBuild
}
remote(develocity.buildCache) {
server = "https://ge.detekt.dev"
isEnabled = true
isPush = isCiBuild
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}