Skip to content

Commit

Permalink
Merge pull request #11656 from litetex/better-control-over-version
Browse files Browse the repository at this point in the history
[Build] Make it possible control the version code and name
  • Loading branch information
TobiGr authored Oct 27, 2024
2 parents cdac50b + c855069 commit 94f992a
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 94f992a

Please sign in to comment.