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:
Rohit Verma 2025-04-02 17:41:01 +05:30
parent bb21e4bdcd
commit 8ad664e216
9 changed files with 714 additions and 476 deletions

13
build.gradle.kts Normal file
View 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")
}
}