Skip to content

Commit

Permalink
fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-wolf-gb committed Aug 29, 2021
1 parent c3494e7 commit 01f07f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ android {
versionName "1.1.1"
generatedDensities = []
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
setProperty("archivesBaseName", "exploit-db_v$versionName")
kapt {
arguments {
arg 'room.schemaLocation', "$projectDir/schemas".toString()
Expand All @@ -34,6 +35,13 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def flavor = variant.name
def versionName = variant.versionName
outputFileName = "exploit-db_${flavor}_${versionName}.apk"
}
}
buildFeatures {
viewBinding true
}
Expand Down

0 comments on commit 01f07f9

Please sign in to comment.