diff --git a/app/build.gradle b/app/build.gradle index d0426d5a2..c5786a5e4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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"