From 475e0bc5324c437423ae7cc39b6e95d447517ac9 Mon Sep 17 00:00:00 2001 From: Goooler Date: Wed, 4 Sep 2024 16:29:27 +0800 Subject: [PATCH] Declare stabilityConfigurationFile and reportsDestination --- build.gradle.kts | 5 +++++ stability_config.conf | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 stability_config.conf diff --git a/build.gradle.kts b/build.gradle.kts index b1fa20bd..4f0c5ab2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -70,6 +70,11 @@ kotlin { } } +composeCompiler { + stabilityConfigurationFile = layout.projectDirectory.file("stability_config.conf") + reportsDestination = layout.buildDirectory.dir("compose_compiler") +} + compose.desktop { application { mainClass = "dev.romainguy.kotlin.explorer.KotlinExplorerKt" diff --git a/stability_config.conf b/stability_config.conf new file mode 100644 index 00000000..0de19968 --- /dev/null +++ b/stability_config.conf @@ -0,0 +1,7 @@ +androidx.collection.* + +java.nio.file.Path + +kotlin.collections.* + +kotlinx.coroutines.CoroutineScope