mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
build: inline versionCode and versionName at destination
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
e6ea5f6a08
commit
3d0850fa1f
@ -26,7 +26,7 @@ android {
|
||||
if (isSnapshot()) {
|
||||
android.applicationVariants.all { final variant ->
|
||||
variant.outputs.all {
|
||||
outputFileName = "aps_${versions.versionName}.apk"
|
||||
outputFileName = "aps_${defaultConfig.versionName}.apk"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -35,6 +35,8 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId versions.packageName
|
||||
versionCode 10601
|
||||
versionName '1.7.0-SNAPSHOT'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
|
@ -48,9 +48,6 @@ subprojects {
|
||||
defaultConfig {
|
||||
minSdkVersion versions.minSdk
|
||||
targetSdkVersion versions.targetSdk
|
||||
versionCode versions.versionCode
|
||||
versionName versions.versionName
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
compileOptions {
|
||||
|
@ -6,8 +6,6 @@ ext.versions = [
|
||||
minSdk: 23,
|
||||
targetSdk: 29,
|
||||
compileSdk: 29,
|
||||
versionCode: 10601,
|
||||
versionName: '1.7.0-SNAPSHOT',
|
||||
buildTools: '29.0.3',
|
||||
packageName: 'dev.msfjarvis.aps'
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user