Skip to content

Commit

Permalink
Make it possible control the version code and name
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Oct 27, 2024
1 parent cdac50b commit c855069
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ android {
resValue "string", "app_name", "NewPipe"
minSdk 21
targetSdk 33
versionCode 999
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"

Expand Down

0 comments on commit c855069

Please sign in to comment.