From 98c440f2d695859465c901a1ffa83d2a9c9d9aef Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Fri, 31 Mar 2017 14:57:11 +0700 Subject: [PATCH] gradle-plugin: Rename kotlin.native.home property in konan.home --- samples/csvparser/gradle.properties | 2 +- samples/csvparser/gradle.properties.for_bundle | 2 +- samples/gitchurn/gradle.properties | 2 +- samples/gitchurn/gradle.properties.for_bundle | 2 +- samples/libcurl/gradle.properties | 2 +- samples/libcurl/gradle.properties.for_bundle | 2 +- samples/opengl/gradle.properties | 2 +- samples/opengl/gradle.properties.for_bundle | 2 +- samples/socket/gradle.properties | 2 +- samples/socket/gradle.properties.for_bundle | 2 +- samples/tetris/gradle.properties | 2 +- samples/tetris/gradle.properties.for_bundle | 2 +- tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/samples/csvparser/gradle.properties b/samples/csvparser/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/csvparser/gradle.properties +++ b/samples/csvparser/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/csvparser/gradle.properties.for_bundle b/samples/csvparser/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/csvparser/gradle.properties.for_bundle +++ b/samples/csvparser/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/samples/gitchurn/gradle.properties b/samples/gitchurn/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/gitchurn/gradle.properties +++ b/samples/gitchurn/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/gitchurn/gradle.properties.for_bundle b/samples/gitchurn/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/gitchurn/gradle.properties.for_bundle +++ b/samples/gitchurn/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/samples/libcurl/gradle.properties b/samples/libcurl/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/libcurl/gradle.properties +++ b/samples/libcurl/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/libcurl/gradle.properties.for_bundle b/samples/libcurl/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/libcurl/gradle.properties.for_bundle +++ b/samples/libcurl/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/samples/opengl/gradle.properties b/samples/opengl/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/opengl/gradle.properties +++ b/samples/opengl/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/opengl/gradle.properties.for_bundle b/samples/opengl/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/opengl/gradle.properties.for_bundle +++ b/samples/opengl/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/samples/socket/gradle.properties b/samples/socket/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/socket/gradle.properties +++ b/samples/socket/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/socket/gradle.properties.for_bundle b/samples/socket/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/socket/gradle.properties.for_bundle +++ b/samples/socket/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/samples/tetris/gradle.properties b/samples/tetris/gradle.properties index d7062dc22a1..3be37412632 100644 --- a/samples/tetris/gradle.properties +++ b/samples/tetris/gradle.properties @@ -1 +1 @@ -kotlin.native.home=../../dist \ No newline at end of file +konan.home=../../dist \ No newline at end of file diff --git a/samples/tetris/gradle.properties.for_bundle b/samples/tetris/gradle.properties.for_bundle index 68cf95f9577..da99cc6e771 100644 --- a/samples/tetris/gradle.properties.for_bundle +++ b/samples/tetris/gradle.properties.for_bundle @@ -1 +1 @@ -kotlin.native.home=../.. \ No newline at end of file +konan.home=../.. \ No newline at end of file diff --git a/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt b/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt index dac9d2fa084..e1fee3c25fe 100644 --- a/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt +++ b/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt @@ -53,7 +53,7 @@ class KonanPlugin: Plugin { companion object { internal const val COMPILER_EXTENSION_NAME = "konanArtifacts" internal const val INTEROP_EXTENSION_NAME = "konanInterop" - internal const val KONAN_HOME_PROPERTY_NAME = "kotlin.native.home" + internal const val KONAN_HOME_PROPERTY_NAME = "konan.home" internal const val KONAN_DOWNLOAD_TASK_NAME = "downloadKonanCompiler" // TODO: Move in config.