mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +05:30
chore(gradle): remove Compose Compiler metrics opt-in
This doesn't seem worth generating for each build Revert "fix(gradle): address list reassignment lints" This reverts commit1d2da7c2f8
. Revert "chore: enable Compose Compiler metrics" This reverts commit0d668ac3aa
.
This commit is contained in:
parent
28c454261f
commit
76737b0eed
2 changed files with 0 additions and 40 deletions
|
@ -6,9 +6,6 @@
|
||||||
*/
|
*/
|
||||||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
||||||
|
|
||||||
import org.gradle.kotlin.dsl.withType
|
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("dev.msfjarvis.claw.android-application")
|
id("dev.msfjarvis.claw.android-application")
|
||||||
id("dev.msfjarvis.claw.rename-artifacts")
|
id("dev.msfjarvis.claw.rename-artifacts")
|
||||||
|
@ -26,23 +23,6 @@ whetstone {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>().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 {
|
android {
|
||||||
namespace = "dev.msfjarvis.claw.android"
|
namespace = "dev.msfjarvis.claw.android"
|
||||||
defaultConfig { applicationId = "dev.msfjarvis.claw.android" }
|
defaultConfig { applicationId = "dev.msfjarvis.claw.android" }
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
*/
|
*/
|
||||||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
||||||
|
|
||||||
import org.gradle.kotlin.dsl.withType
|
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("dev.msfjarvis.claw.kotlin-android")
|
id("dev.msfjarvis.claw.kotlin-android")
|
||||||
id("dev.msfjarvis.claw.android-library")
|
id("dev.msfjarvis.claw.android-library")
|
||||||
|
@ -20,23 +17,6 @@ anvil { generateDaggerFactories.set(true) }
|
||||||
|
|
||||||
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>().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 {
|
dependencies {
|
||||||
implementation(platform(libs.androidx.compose.bom))
|
implementation(platform(libs.androidx.compose.bom))
|
||||||
api(libs.napier)
|
api(libs.napier)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue