Update samples to 1.4.0

This commit is contained in:
Sergey Bogolepov
2020-08-14 10:30:11 +07:00
committed by Sergey Bogolepov
parent a50efe69bb
commit 9fcffae786
7 changed files with 9 additions and 18 deletions
@@ -7,7 +7,7 @@ kotlin.code.style=official
# Pin Kotlin version:
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.3.72
kotlin_version=1.4.0
# Use custom Kotlin/Native home:
kotlin.native.home=../../dist
+1 -1
View File
@@ -7,7 +7,7 @@ kotlin.code.style=official
# Pin Kotlin version:
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.3.72
kotlin_version=1.4.0
# Use custom Kotlin/Native home:
kotlin.native.home=../../../dist
@@ -7,7 +7,7 @@ kotlin.code.style=official
# Pin Kotlin version:
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.3.72
kotlin_version=1.4.0
# Use custom Kotlin/Native home:
kotlin.native.home=../../../dist
+2 -11
View File
@@ -6,17 +6,8 @@ plugins {
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
val commonMain by getting
val commonTest by getting
}
// Determine host preset.
+1 -1
View File
@@ -6,7 +6,7 @@ kotlin.code.style=official
# Pin Kotlin version:
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.3.72
kotlin_version=1.4.0
# Use custom Kotlin/Native home:
kotlin.native.home=../../dist
+2 -2
View File
@@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
plugins {
kotlin("multiplatform") // version "1.3.60-eap-23" apply true
kotlin("multiplatform")
}
allprojects {
@@ -39,7 +39,7 @@ kotlin {
// We declare only one target (either arm64 or x64)
// to workaround lack of common platform libraries
// for both device and simulator.
val ios = if (!target.simulator ) {
val ios = if (!target.simulator) {
// Device.
iosArm64("ios")
} else {
+1 -1
View File
@@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
plugins {
kotlin("multiplatform") // version "1.3.60-eap-23" apply true
kotlin("multiplatform")
}
allprojects {