Update samples to 1.4.0
This commit is contained in:
committed by
Sergey Bogolepov
parent
a50efe69bb
commit
9fcffae786
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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,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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user