diff --git a/BankingClientModel/build.gradle.kts b/BankingClientModel/build.gradle.kts index cbd36ac8..1124dbd9 100644 --- a/BankingClientModel/build.gradle.kts +++ b/BankingClientModel/build.gradle.kts @@ -1,5 +1,6 @@ @file:OptIn(ExperimentalWasmDsl::class) +import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { @@ -12,6 +13,13 @@ plugins { kotlin { jvmToolchain(8) + @OptIn(ExperimentalKotlinGradlePluginApi::class) + 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 { withJava()