[samples] Explicitly specify gradle plugin version
This commit is contained in:
+9
-1
@@ -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('.')
|
||||
|
||||
@@ -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')}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
konan.home=../../dist
|
||||
konan.home=../../dist
|
||||
konan.plugin.version=+
|
||||
Reference in New Issue
Block a user