Fix gradle plugin versioning and the plugin version used by samples

This commit is contained in:
Ilya Matveev
2018-04-25 12:29:23 +07:00
committed by ilmat192
parent 89cc1b3abb
commit bee7dcd704
10 changed files with 38 additions and 32 deletions
+3 -1
View File
@@ -39,6 +39,8 @@ ext {
kotlinStdLibModule="org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"
kotlinReflectModule="org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}"
kotlinScriptRuntimeModule="org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}"
gradlePluginVersion = KonanVersion.CURRENT.gradlePluginVersion
}
allprojects {
@@ -385,7 +387,7 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
return it.replace("/dist", "")
}
if (it.startsWith("konan.plugin.version=")) {
return "konan.plugin.version=$konanVersion"
return "konan.plugin.version=$gradlePluginVersion"
}
return it
}