Updated to new Kotlin Multiplatform settings
This commit is contained in:
parent
56c9fd79bd
commit
41bdeca35b
|
@ -6,13 +6,13 @@ plugins {
|
|||
|
||||
|
||||
kotlin {
|
||||
targetHierarchy.default()
|
||||
|
||||
linuxX64()
|
||||
mingwX64()
|
||||
macosX64()
|
||||
macosArm64()
|
||||
|
||||
applyDefaultHierarchyTemplate()
|
||||
|
||||
|
||||
val kotlinxSerializationVersion: String by project
|
||||
|
||||
|
|
|
@ -8,11 +8,15 @@ plugins {
|
|||
|
||||
|
||||
kotlin {
|
||||
// Enable the default target hierarchy:
|
||||
targetHierarchy.default()
|
||||
jvmToolchain(8)
|
||||
|
||||
compilerOptions {
|
||||
// suppresses compiler warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta.
|
||||
freeCompilerArgs.add("-Xexpect-actual-classes")
|
||||
}
|
||||
|
||||
|
||||
jvm {
|
||||
jvmToolchain(8)
|
||||
withJava() // not allowed if android { } is present
|
||||
|
||||
testRuns["test"].executionTask.configure {
|
||||
|
@ -24,7 +28,7 @@ kotlin {
|
|||
}
|
||||
}
|
||||
|
||||
js(IR) {
|
||||
js {
|
||||
binaries.executable()
|
||||
|
||||
browser {
|
||||
|
@ -43,22 +47,17 @@ kotlin {
|
|||
linuxX64()
|
||||
mingwX64()
|
||||
|
||||
|
||||
ios {
|
||||
binaries {
|
||||
framework {
|
||||
baseName = "fints4k"
|
||||
}
|
||||
}
|
||||
}
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
macosX64()
|
||||
macosArm64()
|
||||
watchos()
|
||||
watchosArm64()
|
||||
watchosSimulatorArm64()
|
||||
tvos()
|
||||
tvosArm64()
|
||||
tvosSimulatorArm64()
|
||||
|
||||
applyDefaultHierarchyTemplate()
|
||||
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
|
Loading…
Reference in New Issue