Commit 59b11cae authored by Nikolay Igotti's avatar Nikolay Igotti

Allow using Space Maven for Skiko.

parent df2c7713
...@@ -9,6 +9,9 @@ repositories { ...@@ -9,6 +9,9 @@ repositories {
maven { maven {
url 'https://dl.bintray.com/kotlin/kotlin-eap' url 'https://dl.bintray.com/kotlin/kotlin-eap'
} }
maven {
url 'https://packages.jetbrains.team/maven/p/ui/dev'
}
} }
def os = System.getProperty("os.name") def os = System.getProperty("os.name")
...@@ -19,10 +22,15 @@ if (os == "Mac OS X") { ...@@ -19,10 +22,15 @@ if (os == "Mac OS X") {
target = "windows" target = "windows"
} }
def version = "0.1-SNAPSHOT"
if (project.hasProperty('skiko.version')) {
version = project.properties['skiko.version']
}
dependencies { dependencies {
implementation platform('org.jetbrains.kotlin:kotlin-bom') implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target:0.1-SNAPSHOT" implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target:$version"
testImplementation 'org.jetbrains.kotlin:kotlin-test' testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit' testImplementation 'org.jetbrains.kotlin:kotlin-test-junit'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment