diff --git a/SampleApplications/NativeApp/build.gradle.kts b/SampleApplications/NativeApp/build.gradle.kts index b91576bc..0f18371a 100644 --- a/SampleApplications/NativeApp/build.gradle.kts +++ b/SampleApplications/NativeApp/build.gradle.kts @@ -6,13 +6,13 @@ plugins { kotlin { - targetHierarchy.default() - linuxX64() mingwX64() macosX64() macosArm64() + applyDefaultHierarchyTemplate() + val kotlinxSerializationVersion: String by project diff --git a/fints4k/build.gradle b/fints4k/build.gradle index ca6ebf32..96e8ff54 100644 --- a/fints4k/build.gradle +++ b/fints4k/build.gradle @@ -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 {