Files
etchdroid/build.gradle.kts

22 lines
863 B
Kotlin

plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kotlin.parcelize) apply false
if (System.getProperty("etchdroid.isGPlayFlavor") == "true" || System.getenv("ETCHDROID_ENABLE_SENTRY") == "true") {
alias(libs.plugins.google.gms.google.services) apply false
alias(libs.plugins.google.firebase.crashlytics) apply false
}
}
if (hasProperty("develocity")) {
println("EtchDroid: Accepting scans.gradle.com terms of service")
extensions.findByName("develocity")?.withGroovyBuilder {
getProperty("buildScan")?.withGroovyBuilder {
setProperty("termsOfUseUrl", "https://gradle.com/help/legal-terms-of-use")
setProperty("termsOfUseAgree", "yes")
}
}
}