-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
46 lines (38 loc) · 1.15 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
rootProject.name = "DepsKt"
// Careful with auto publishing fails/stack traces
val buildScanPublishingAllowed =
System.getenv("GITHUB_ACTIONS") == "true"
// true
// false
// region [[My Settings Stuff <~~]]
// ~~>".*/Deps\.kt"~~>"../DepsKt"<~~
// endregion [[My Settings Stuff <~~]]
// region [[My Settings Stuff]]
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
val depsDir = File(rootDir, "../DepsKt").normalize()
val depsInclude =
// depsDir.exists()
false
if (depsInclude) {
logger.warn("Including local build $depsDir")
includeBuild(depsDir)
}
}
plugins {
id("pl.mareklangiewicz.deps.settings") version "0.3.66" // https://plugins.gradle.org/search?term=mareklangiewicz
id("com.gradle.develocity") version "3.19" // https://docs.gradle.com/develocity/gradle-plugin/
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
publishing.onlyIf { buildScanPublishingAllowed && it.buildResult.failures.isNotEmpty() }
}
}
// endregion [[My Settings Stuff]]