Skip to content

Commit

Permalink
Remove workaround for compose previews.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Jun 28, 2024
1 parent b485249 commit 53f519f
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package io.github.reactivecircus.kstreamlined.buildlogic.convention

import com.android.build.api.dsl.LibraryExtension
import com.android.build.gradle.internal.dsl.BaseAppModuleExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
Expand All @@ -23,17 +21,5 @@ internal class ComposeConventionPlugin : Plugin<Project> {
}
targetKotlinPlatforms.set(setOf(KotlinPlatformType.androidJvm))
}

// TODO remove once https://issuetracker.google.com/issues/344057003 is fixed
plugins.withId("com.android.application") {
configure<BaseAppModuleExtension> {
buildFeatures.compose = true
}
}
plugins.withId("com.android.library") {
configure<LibraryExtension> {
buildFeatures.compose = true
}
}
}
}

0 comments on commit 53f519f

Please sign in to comment.