[android] Fixed new gradle build errors
This commit is contained in:
parent
0c1c93e854
commit
7b30f4873e
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
buildscript {
|
||||
repositories { mavenCentral() }
|
||||
dependencies { classpath 'com.android.tools.build:gradle:0.9.2' }
|
||||
dependencies { classpath 'com.android.tools.build:gradle:0.11.+' }
|
||||
}
|
||||
|
||||
apply plugin: 'android'
|
||||
|
@ -63,7 +63,7 @@ android {
|
|||
// replace app name
|
||||
android.applicationVariants.all { variant ->
|
||||
variant.mergeResources.doLast {
|
||||
File valuesFile = file("${buildDir}/res/all/${variant.dirName}/values/values.xml")
|
||||
File valuesFile = file("${buildDir}/intermediates/res/${variant.dirName}/values/values.xml")
|
||||
println "Replacing app name in " + valuesFile
|
||||
println "App name = " + GWMappName
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#Sun May 04 20:21:28 FET 2014
|
||||
#Mon Jun 09 21:06:40 HST 2014
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
|
||||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
|
||||
|
|
Reference in a new issue