From 7712102af2341e541a4bcb5564739a50e56c86cb Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 19 Sep 2024 19:09:44 +0200 Subject: [PATCH] Suppressed EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING compiler warning --- composeApp/build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 51dc087..f12249a 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -14,6 +14,13 @@ plugins { kotlin { + @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") + } + + js { moduleName = "composeApp" browser {