From 4e402e1b7265c754919ab93ab1f85e5cd54e3cee Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Tue, 21 Dec 2021 13:25:28 +0300 Subject: [PATCH] [Native] Samples: update kotlin version and gradle --- kotlin-native/samples/gradle.properties | 2 +- kotlin-native/samples/gradle/wrapper/gradle-wrapper.properties | 3 ++- kotlin-native/samples/settings.gradle.kts | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kotlin-native/samples/gradle.properties b/kotlin-native/samples/gradle.properties index d6c7c94bc9e..3fa394b80ed 100644 --- a/kotlin-native/samples/gradle.properties +++ b/kotlin-native/samples/gradle.properties @@ -6,7 +6,7 @@ org.gradle.workers.max=4 # Pin Kotlin version: # CHANGE_VERSION_WITH_RELEASE -kotlin_version=1.5.10 +kotlin_version=1.6.0 # Sets maven path for the kotlin version other than release #kotlinCompilerRepo= diff --git a/kotlin-native/samples/gradle/wrapper/gradle-wrapper.properties b/kotlin-native/samples/gradle/wrapper/gradle-wrapper.properties index be52383ef49..ecc9c3c3f7e 100644 --- a/kotlin-native/samples/gradle/wrapper/gradle-wrapper.properties +++ b/kotlin-native/samples/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip +distributionSha256Sum=bf8b869948901d422e9bb7d1fa61da6a6e19411baa7ad6ee929073df85d6365d zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/kotlin-native/samples/settings.gradle.kts b/kotlin-native/samples/settings.gradle.kts index fe8efa90ec9..ed5559953a3 100644 --- a/kotlin-native/samples/settings.gradle.kts +++ b/kotlin-native/samples/settings.gradle.kts @@ -4,8 +4,6 @@ pluginManagement { } } -enableFeaturePreview("GRADLE_METADATA") - val hostOs = System.getProperty("os.name") val isMacos = hostOs == "Mac OS X" val isLinux = hostOs == "Linux"