Skip to content

Commit

Permalink
Upgrade Compose Compiler to 2.0.20 and disable strong skipping mode
Browse files Browse the repository at this point in the history
Strong skipping creates issues with the BottomSheets
  • Loading branch information
alexstyl committed Oct 18, 2024
1 parent 0c10a4a commit 5b9fc25
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 8 additions & 2 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@file:Suppress("UnstableApiUsage")

import org.jetbrains.compose.internal.utils.getLocalProperty
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag

plugins {
alias(libs.plugins.compose)
Expand All @@ -18,6 +18,12 @@ val publishArtifactId = "core"
val publishVersion = "1.18.0"
val githubUrl = "github.com/composablehorizons/compose-unstyled"

composeCompiler {
featureFlags.set(
setOf(ComposeFeatureFlag.StrongSkipping.disabled())
)
}

java {
toolchain {
vendor = JvmVendorSpec.JETBRAINS
Expand Down Expand Up @@ -118,7 +124,7 @@ afterEvaluate {

pom {
name.set("Compose Unstyled")
description.set("Unstyled, fully accesible Compose Multiplatform components that you can customize to your heart's desire.")
description.set("Unstyled, fully accessible Compose Multiplatform components that you can customize to your heart's desire.")
url.set("https://${githubUrl}")
licenses {
license {
Expand Down
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[versions]
kotlin = "2.0.20"
compose = "1.7.0"
composecompiler = "2.0.10"
agp = "8.2.0"
composetheme = "1.2.0-alpha"
composeicons = "1.0.0"
Expand All @@ -14,5 +13,5 @@ composeicons = { module = "com.composables:icons-lucide", version.ref = "compose
[plugins]
compose = { id = "org.jetbrains.compose", version.ref = "compose" }
multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "composecompiler" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
android-application = { id = "com.android.application", version.ref = "agp" }

0 comments on commit 5b9fc25

Please sign in to comment.