1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-08 19:10:01 +00:00

Make it possible control the version code and name

This commit is contained in:
litetex 2024-10-27 17:49:28 +01:00
parent cdac50bab3
commit c8550695aa
No known key found for this signature in database
GPG Key ID: 525B43E6039B3689

View File

@ -20,8 +20,15 @@ android {
resValue "string", "app_name", "NewPipe"
minSdk 21
targetSdk 33
if (System.properties.containsKey('versionCodeOverride')) {
versionCode System.getProperty('versionCodeOverride') as Integer
} else {
versionCode 999
}
versionName "0.27.2"
if (System.properties.containsKey('versionNameSuffix')) {
versionNameSuffix System.getProperty('versionNameSuffix')
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"