forked from Kotlin/kotlinconf-spinner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
33 lines (27 loc) · 935 Bytes
/
settings.gradle
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
rootProject.name = "kotlin-native-demo"
def konanBuildPath = gradle.startParameter.projectProperties['konan.build']
if (konanBuildPath != null) {
includeBuild(konanBuildPath)
gradle.allprojects {
it.extensions.extraProperties.set('konan.home', "$konanBuildPath/dist")
}
}
def disableAndroid = gradle.startParameter.projectProperties['disable.android']
if (disableAndroid == null || disableAndroid != "true") {
if (System.getenv("ANDROID_HOME") != null || new File(rootProject.projectDir, "local.properties").isFile()) {
include ':clients:android'
} else {
println "WARN. Android SDK may not be configured, excluding Android project..."
}
}
include ':clients:cli'
include ':clients:ios'
//include ':clients:webassembly'
include ':common'
include ':getopt'
include ':httpserver'
include ':json'
include ':kurl'
include ':sql'
include ':utils'
enableFeaturePreview('GRADLE_METADATA')