Skip to content

Commit

Permalink
Release: Nightly 5.3.6b
Browse files Browse the repository at this point in the history
- Restore old app build.gradle, because it not works with github actions
  • Loading branch information
amarullz committed Aug 16, 2024
1 parent 45f9fbc commit 9709875
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,22 @@ android {
setProperty("archivesBaseName", "animetv-" + versionName)
}

def keystoreFile = file('../keystore/debug.keystore')
def isKeystoreFileExists = keystoreFile.exists() && !keystoreFile.isDirectory()

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (isKeystoreFileExists) {
signingConfig signingConfigs.debug
}
signingConfig signingConfigs.debug
}
debug {
minifyEnabled false
}
}

if (isKeystoreFileExists) {
signingConfigs {
debug {
storeFile storeFile
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
signingConfigs {
debug {
storeFile file('../keystore/debug.keystore')
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
}
Expand Down

0 comments on commit 9709875

Please sign in to comment.