Raster map: synchronized model with view.
This commit is contained in:
parent
f15f35f37c
commit
99940646e3
1 changed files with 20 additions and 2 deletions
|
@ -43,7 +43,7 @@ android {
|
|||
|
||||
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
|
||||
//versionName already assigned in code
|
||||
//versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName
|
||||
versionName System.getenv("APK_VERSION") ? System.getenv("APK_VERSION").toString(): versionName
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
|
@ -184,6 +184,24 @@ task updateNoTranslate(type: Copy) {
|
|||
into 'res/values/'
|
||||
}
|
||||
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
output.processManifest.doLast {
|
||||
replaceInManifest(output,
|
||||
'2.2.4',
|
||||
'14.88')
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def replaceInManifest(output, fromString, toString) {
|
||||
def updatedContent = output.processManifest.manifestOutputFile.getText('UTF-8')
|
||||
.replaceAll(fromString, toString)
|
||||
output.processManifest.manifestOutputFile.write(updatedContent, 'UTF-8')
|
||||
}
|
||||
|
||||
task validateTranslate {
|
||||
println "Validating translations"
|
||||
|
||||
|
|
Loading…
Reference in a new issue