Modernize the gradle setup a little more.

This commit is contained in:
Henrik Rydgård
2026-01-19 15:01:15 +01:00
parent 0258ab2e75
commit 8560ed697d
3 changed files with 3 additions and 4 deletions
+2 -1
View File
@@ -4,7 +4,6 @@ import java.io.ByteArrayOutputStream
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.protobuf")
}
@@ -149,6 +148,8 @@ android {
isMinifyEnabled = false
if (project.hasProperty("RELEASE_STORE_FILE")) {
signingConfig = signingConfigs.getByName("release")
} else {
println("WARNING: RELEASE_STORE_FILE is missing. Release builds will be unusable.")
}
}
}
+1 -2
View File
@@ -1,5 +1,4 @@
plugins {
id("com.android.application") version "9.0.0" apply false
id("org.jetbrains.kotlin.android") version "2.2.21" apply false
id("com.google.protobuf") version "0.9.5" apply false
id("com.google.protobuf") version "0.9.6" apply false
}
-1
View File
@@ -12,5 +12,4 @@ android.uniquePackageNames=false
android.dependency.useConstraints=true
android.r8.strictFullModeForKeepRules=false
android.r8.optimizedResourceShrinking=false
android.builtInKotlin=false
android.newDsl=false