From 53f519fabfe8ff65e8c22bfa306de00f2c2b9841 Mon Sep 17 00:00:00 2001 From: Yang Date: Fri, 28 Jun 2024 15:06:31 +1000 Subject: [PATCH] Remove workaround for compose previews. --- .../convention/ComposeConventionPlugin.kt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/convention/ComposeConventionPlugin.kt b/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/convention/ComposeConventionPlugin.kt index 34934167..48415ad4 100644 --- a/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/convention/ComposeConventionPlugin.kt +++ b/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/convention/ComposeConventionPlugin.kt @@ -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 @@ -23,17 +21,5 @@ internal class ComposeConventionPlugin : Plugin { } targetKotlinPlatforms.set(setOf(KotlinPlatformType.androidJvm)) } - - // TODO remove once https://issuetracker.google.com/issues/344057003 is fixed - plugins.withId("com.android.application") { - configure { - buildFeatures.compose = true - } - } - plugins.withId("com.android.library") { - configure { - buildFeatures.compose = true - } - } } }