[samples] Explicitly specify gradle plugin version

This commit is contained in:
Ilya Matveev
2018-03-23 13:57:02 +03:00
committed by ilmat192
parent 4ae458abfd
commit d894d6af8c
3 changed files with 12 additions and 3 deletions
+9 -1
View File
@@ -373,7 +373,15 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
include 'gradle.properties'
include 'androidNativeActivity/gradle.properties'
into "$baseName/samples"
filter { it.startsWith("konan.home=") ? "konan.home=../.." : it }
filter {
if (it.startsWith("konan.home=")) {
return "konan.home=../.."
}
if (it.startsWith("konan.plugin.version=")) {
return "konan.plugin.version=$konanVersion"
}
return it
}
}
destinationDir = file('.')
+1 -1
View File
@@ -8,7 +8,7 @@ subprojects {
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:+"
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:${project.property('konan.plugin.version')}"
}
}
}
+2 -1
View File
@@ -1 +1,2 @@
konan.home=../../dist
konan.home=../../dist
konan.plugin.version=+