mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
Chore: remove unused dependencies & improve gradle properties & code style (#1189)
* Inline version strings * Optimize gradle * Remove kotlin-stdlib-jdk7 * Add jvmargs in gradle.properties * Revert "Inline version strings" This reverts commit ad2ab2bb * Revert asserts
This commit is contained in:
@@ -48,7 +48,7 @@ subprojects {
|
||||
|
||||
apply(plugin = if (isApp) "com.android.application" else "com.android.library")
|
||||
|
||||
extensions.configure(BaseExtension::class) {
|
||||
extensions.configure<BaseExtension> {
|
||||
val minSdkVersion = 21
|
||||
val targetSdkVersion = 30
|
||||
val buildVersionCode = 204010
|
||||
@@ -172,7 +172,7 @@ task("clean", type = Delete::class) {
|
||||
delete(rootProject.buildDir)
|
||||
}
|
||||
|
||||
tasks.named<Wrapper>("wrapper") {
|
||||
tasks.wrapper {
|
||||
distributionType = Wrapper.DistributionType.ALL
|
||||
|
||||
doLast {
|
||||
|
||||
Reference in New Issue
Block a user