build, move the responsibility of the version string to the file where the version is actually managed, so that strings.xml does not also need edited every update.
This commit is contained in:
@@ -10,6 +10,9 @@ android {
|
||||
targetSdkVersion 36
|
||||
versionCode 11
|
||||
versionName "1.0.4"
|
||||
applicationVariants.all { variant ->
|
||||
variant.resValue "string", "version_number", "-=" + variant.versionName + " =-"
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
||||
Reference in New Issue
Block a user