Skip to content

Commit

Permalink
Disable minified builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nienow committed Jan 12, 2024
1 parent e1927d5 commit b1a6050
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,30 @@ android {
applicationId = "dev.randombits.intervaltimer"
minSdk = 24
targetSdk = 33
versionCode = 4
versionName = "1.0.4"
versionCode = 5
versionName = "1.0.5"

vectorDrawables {
useSupportLibrary = true
}
}

applicationVariants.all {
outputs.all {
var apkName = "IntervalTimer-" + defaultConfig.versionName;
if (name == "debug") {
apkName += "-${name}"
if (findProperty("PLAY_STORE_KEY") != null) {
applicationVariants.all {
outputs.all {
var apkName = "IntervalTimer-" + defaultConfig.versionName;
if (name == "debug") {
apkName += "-${name}"
}
this as com.android.build.gradle.internal.api.ApkVariantOutputImpl
outputFileName = apkName + ".apk"
}
this as com.android.build.gradle.internal.api.ApkVariantOutputImpl
outputFileName = apkName + ".apk"
}
}

buildTypes {
release {
isMinifyEnabled = true
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
if (findProperty("PLAY_STORE_KEY") != null) {
signingConfig = signingConfigs.getByName("release")
Expand Down

0 comments on commit b1a6050

Please sign in to comment.