forked from JetBrains/kotlin-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
53 lines (47 loc) · 1.22 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
pluginManagement {
repositories {
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}
}
enableFeaturePreview("GRADLE_METADATA")
val hostOs = System.getProperty("os.name")
val isMacos = hostOs == "Mac OS X"
val isLinux = hostOs == "Linux"
val isWindows = hostOs.startsWith("Windows")
/*
* The following projects are only available for certain platforms.
*
* IMPORTANT: If a new sample doesn't include interop with third-party libraries,
* add it into the 'buildSamplesWithPlatfromLibs' task in the root build.gradle.
*/
if (isMacos || isLinux || isWindows) {
include(":csvparser")
include(":curl")
include(":echoServer")
include(":gitchurn")
include(":globalState")
include(":gtk")
include(":html5Canvas")
include(":libcurl")
include(":tetris")
include(":videoplayer")
include(":workers")
include(":coverage")
}
if (isMacos || isLinux) {
include(":nonBlockingEchoServer")
include(":tensorflow")
include(":torch")
}
if (isMacos) {
include(":objc")
include(":opengl")
include(":uikit")
include(":watchos")
include(":simd")
}
if (isWindows) {
include(":win32")
}