Files
kotlin-fork/gradle/kotlinNativeShared.gradle
T
Ilya Matveev a2370920db Depend on kotlin-native-shared from a separate repo
Kotlin-native-shared was copied in a separate repository.
This patch removes this subproject from the K/N repo and
adds a dependency on an artifact built from this separate repo.
2019-03-14 21:51:46 +07:00

20 lines
621 B
Groovy

if (!hasProperty('sharedVersion')) {
throw new GradleException('Please ensure the "sharedVersion" property is defined before applying this script.')
}
if (!hasProperty('sharedRepo')) {
throw new GradleException('Please ensure the "sharedRepo" property is defined before applying this script.')
}
project.buildscript {
repositories {
maven { url sharedRepo }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-native-shared:$sharedVersion"
// An included build with generated Kotlin/Native version.
classpath "org.jetbrains.kotlin:kotlin-native-version"
}
}