Skip to content

Commit b467082

Browse files
committed
- set compose compiler version
- exclude compose dependencies from coil
1 parent d0bd637 commit b467082

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

multiplatform-markdown-renderer/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ android {
3232
targetCompatibility = JavaVersion.VERSION_11
3333
}
3434

35+
composeOptions {
36+
kotlinCompilerExtensionVersion = Versions.composeCompiler
37+
}
38+
3539
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
3640
kotlinOptions.jvmTarget = "11"
3741

@@ -138,7 +142,10 @@ dependencies {
138142
commonMainCompileOnly(compose.ui)
139143
commonMainCompileOnly(compose.foundation)
140144

141-
"androidMainImplementation"(Deps.Compose.coilCompose)
145+
"androidMainImplementation"(Deps.Compose.coilCompose) {
146+
exclude("androidx.compose.foundation")
147+
exclude("androidx.compose.ui")
148+
}
142149
}
143150

144151
tasks.dokkaHtml.configure {

0 commit comments

Comments
 (0)