Skip to content

Commit

Permalink
chore: add sign config
Browse files Browse the repository at this point in the history
  • Loading branch information
tylinux committed May 28, 2024
1 parent 416f33d commit 4b95512
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,23 @@ android {
}
}

signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD

v1SigningEnabled true
v2SigningEnabled true
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand All @@ -44,6 +57,7 @@ android {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}

}

dependencies {
Expand Down

0 comments on commit 4b95512

Please sign in to comment.