-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsettings.gradle.kts
57 lines (51 loc) · 1.49 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
plugins {
id("com.gradle.develocity") version "3.18.1"
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
}
}
rootProject.name = "mikmusic"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
if (System.getenv("BUILD_PLUGIN_CI")?.toBoolean() != true) {
include(
"api",
"api:annotations",
"plugin-processor",
"runtime",
"core:database-i18n",
"core:game-animator",
"core:gdpr",
"core:kubernetes",
"core:redeploy-hook",
"core:ktor",
":music",
"music:player",
"music:commands",
"music:lyrics",
"music:api",
"music:api:types",
"music:api:server",
"clients:discord-oauth",
"clients:haste-client",
"clients:image-color-client",
"clients:image-color-client-kord"
)
}
includeBuild("gradle-plugin")
buildCache {
remote<HttpBuildCache> {
isPush = (System.getenv("GRADLE_BUILD_CACHE_PUSH") == "true") && (System.getenv("IS_PR") == "false")
url = uri("https://gradle-build-cache.srv02.schlaubi.net/cache/")
val cacheUsername = System.getenv("GRADLE_BUILDCACHE_USERNNAME")
val cachePassword = System.getenv("GRADLE_BUILDCACHE_PASSWORD")
if (cacheUsername != null && cachePassword != null) {
credentials {
username = cacheUsername
password = cachePassword
}
}
}
}