forked from korlibs/korge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
41 lines (36 loc) · 1.47 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
pluginManagement {
// Eval.xy(this, it, file('./gradle/repositories.settings.gradle').text)
repositories {
mavenLocal()
mavenCentral()
google()
gradlePluginPortal()
maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap") }
maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/temporary") }
maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev") }
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven") }
maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental") }
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
}
}
val enableMetalPlayground: String by settings
rootProject.name = "${rootDir.name}-root"
fun isPropertyTrue(name: String): Boolean {
return System.getenv(name) == "true" || System.getProperty(name) == "true"
}
val inCI = isPropertyTrue("CI")
val disabledExtraKorgeLibs = isPropertyTrue("DISABLED_EXTRA_KORGE_LIBS")
include(":korge")
include(":korge-core")
include(":korge-kotlin-plugin")
include(":korge-gradle-plugin")
include(":korge-gradle-plugin-common")
include(":korge-gradle-plugin-settings")
include(":korge-reload-agent")
include(":korge-ipc")
if (System.getenv("DISABLE_SANDBOX") != "true") {
include(":korge-sandbox")
}
if (!inCI || System.getenv("ENABLE_BENCHMARKS") == "true") {
include(":korge-benchmarks")
}