mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: consolidate F-Droid task disabling to convention plugin (#3990)
This commit is contained in:
parent
775bf84c40
commit
a1cf92d676
3 changed files with 12 additions and 22 deletions
|
|
@ -43,17 +43,6 @@ dependencies {
|
|||
googleApi(libs.firebase.crashlytics)
|
||||
}
|
||||
|
||||
val googleServiceKeywords = listOf("crashlytics", "google", "datadog")
|
||||
|
||||
tasks.configureEach {
|
||||
if (
|
||||
googleServiceKeywords.any { name.contains(it, ignoreCase = true) } && name.contains("fdroid", ignoreCase = true)
|
||||
) {
|
||||
project.logger.lifecycle("Disabling task for F-Droid: $name")
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
buildFeatures { buildConfig = true }
|
||||
namespace = "org.meshtastic.core.analytics"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue