a2370920db
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.
20 lines
621 B
Groovy
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"
|
|
}
|
|
}
|