mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
chore: migrate groovy build files to Kotlin DSL and upgrade AGP
chore: use version catalog to manage dependencies chore: move plugins to version catalog remove deprecated way of enabling build-config and redundant code chore: setup triplet-play plugin configuration refactor: move dependency block and tasks to the end of build file refactor: move dependency block and mark redundant dependencies
This commit is contained in:
parent
bb21e4bdcd
commit
8ad664e216
9 changed files with 714 additions and 476 deletions
13
build.gradle.kts
Normal file
13
build.gradle.kts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.jetbrains.kotlin.android) apply false
|
||||
alias(libs.plugins.github.triplet.play) apply false
|
||||
alias(libs.plugins.getkeepsafe.dexcount)
|
||||
}
|
||||
|
||||
subprojects{
|
||||
tasks.withType<Test>().configureEach {
|
||||
jvmArgs = (jvmArgs ?: emptyList()) + listOf("--add-opens=java.base/java.lang=ALL-UNNAMED")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue