Files
kotlin-fork/kotlin-native/samples/settings.gradle.kts
T
Nikolay Krasko c4178daf48 Remove Bintray kotlin-dev usage from kotlin-native
(cherry picked from commit ec4ac192a822949af55264157cf6f03d0c4f0c20)
2021-02-26 12:51:51 +01:00

53 lines
1.2 KiB
Kotlin

pluginManagement {
repositories {
mavenCentral()
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")
}