Raster map: synchronized model with view.

This commit is contained in:
GaidamakUA 2016-02-11 15:09:37 +02:00
parent f15f35f37c
commit 99940646e3

View file

@ -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"