diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 2cb79f04..7d4ac612 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -6,9 +6,6 @@ */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") -import org.gradle.kotlin.dsl.withType -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - plugins { id("dev.msfjarvis.claw.android-application") id("dev.msfjarvis.claw.rename-artifacts") @@ -26,23 +23,6 @@ whetstone { } } -tasks.withType().configureEach { - kotlinOptions { - freeCompilerArgs = - freeCompilerArgs + - listOf( - "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + - rootProject.buildDir.absolutePath + - "/compose_metrics/", - "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + - rootProject.buildDir.absolutePath + - "/compose_metrics/", - ) - } -} - android { namespace = "dev.msfjarvis.claw.android" defaultConfig { applicationId = "dev.msfjarvis.claw.android" } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index aedd652d..b405d235 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -6,9 +6,6 @@ */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") -import org.gradle.kotlin.dsl.withType -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - plugins { id("dev.msfjarvis.claw.kotlin-android") id("dev.msfjarvis.claw.android-library") @@ -20,23 +17,6 @@ anvil { generateDaggerFactories.set(true) } androidComponents { beforeVariants { it.enableUnitTest = false } } -tasks.withType().configureEach { - kotlinOptions { - freeCompilerArgs = - freeCompilerArgs + - listOf( - "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + - rootProject.buildDir.absolutePath + - "/compose_metrics/", - "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + - rootProject.buildDir.absolutePath + - "/compose_metrics/", - ) - } -} - dependencies { implementation(platform(libs.androidx.compose.bom)) api(libs.napier)