From 24588263edbd52c7014aca965563fbe4f2ea36d1 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Mon, 22 Apr 2019 19:06:52 +0700 Subject: [PATCH] Store kotlin-native-shared version in the jar of the Gradle plugin --- libraries/tools/kotlin-gradle-plugin/build.gradle.kts | 3 ++- .../kotlin-gradle-plugin/src/main/resources/project.properties | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts index 74ce3f993af..3f1f59fa978 100644 --- a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts @@ -114,7 +114,8 @@ tasks { named("processResources") { val propertiesToExpand = mapOf( "projectVersion" to project.version, - "kotlinNativeVersion" to project.kotlinNativeVersion + "kotlinNativeVersion" to project.kotlinNativeVersion, + "kotlinNativeSharedVersion" to project.kotlinNativeSharedVersion ) for ((name, value) in propertiesToExpand) { inputs.property(name, value) diff --git a/libraries/tools/kotlin-gradle-plugin/src/main/resources/project.properties b/libraries/tools/kotlin-gradle-plugin/src/main/resources/project.properties index 0e7465705cb..0dda44e839b 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/main/resources/project.properties +++ b/libraries/tools/kotlin-gradle-plugin/src/main/resources/project.properties @@ -1,2 +1,3 @@ project.version=${projectVersion} -kotlin.native.version=${kotlinNativeVersion} \ No newline at end of file +kotlin.native.version=${kotlinNativeVersion} +kotlin.native.shared.version=${kotlinNativeSharedVersion} \ No newline at end of file