added german translation and store stuff for app
This commit is contained in:
@@ -19,7 +19,7 @@ android {
|
||||
namespace = "si.sdkkovinar.app"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
|
||||
ndkVersion = "27.0.12077973" // ✅ Keep only this line
|
||||
ndkVersion = "27.0.12077973"
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
@@ -52,19 +52,19 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// Falls back to debug key only when key.properties is missing (local testing).
|
||||
signingConfig = if (keystorePropertiesFile.exists()) {
|
||||
signingConfigs.getByName("release")
|
||||
} else {
|
||||
signingConfigs.getByName("debug")
|
||||
}
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Never ship a debug-signed release (Play rejects it): fail release builds without the upload key.
|
||||
gradle.taskGraph.whenReady {
|
||||
if (!keystorePropertiesFile.exists() && allTasks.any { it.name.contains("Release") }) {
|
||||
throw GradleException("android/key.properties missing — release builds need the upload keystore.")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
|
||||
|
||||
Reference in New Issue
Block a user