File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
mosaic-gradle-plugin/src/main/kotlin/com/jakewharton/mosaic/gradle Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ kotlinx-coroutines-core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0"
1010androidx-compose-compiler = " androidx.compose.compiler:compiler:1.5.10"
1111
1212compose-compiler = " org.jetbrains.compose.compiler:compiler:1.5.8.1"
13- compose-runtime = " org.jetbrains.compose.runtime:runtime:1.5.12 "
13+ compose-runtime = " org.jetbrains.compose.runtime:runtime:1.6.0 "
1414
1515maven-publish-gradlePlugin = " com.vanniktech:gradle-maven-publish-plugin:0.27.0"
1616dokka-gradlePlugin = " org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
1010import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
1111import org.jetbrains.kotlin.gradle.plugin.KotlinCompilation
1212import org.jetbrains.kotlin.gradle.plugin.KotlinCompilerPluginSupportPlugin
13- import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
1413import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet.Companion.COMMON_MAIN_SOURCE_SET_NAME
1514import org.jetbrains.kotlin.gradle.plugin.SubpluginArtifact
1615import org.jetbrains.kotlin.gradle.plugin.SubpluginOption
@@ -88,15 +87,6 @@ class MosaicPlugin : KotlinCompilerPluginSupportPlugin {
8887 }
8988
9089 override fun applyToCompilation (kotlinCompilation : KotlinCompilation <* >): Provider <List <SubpluginOption >> {
91- if (kotlinCompilation.target.platformType == KotlinPlatformType .js) {
92- // This enables a workaround for Compose lambda generation to function correctly in JS.
93- // Note: We cannot use SubpluginOption to do this because it targets the Compose plugin.
94- kotlinCompilation.compilerOptions.options.freeCompilerArgs.addAll(
95- " -P" ,
96- " plugin:androidx.compose.compiler.plugins.kotlin:generateDecoys=true" ,
97- )
98- }
99-
10090 return kotlinCompilation.target.project.provider { emptyList() }
10191 }
10292
You can’t perform that action at this time.
0 commit comments