Bump gradle plugin version to 0.14.1, upgrade properties

This commit is contained in:
Daniel Martí 2014-11-05 21:31:25 +01:00
parent e6bce05bd2
commit c6811d83b2

View File

@ -3,14 +3,18 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
classpath 'com.android.tools.build:gradle:0.14.1'
}
}
apply plugin: 'android'
def toolVersion = "21.1"
allprojects {
ext {
toolVersion = '21.1'
sdkLoc = getSdkPath()
}
}
FileCollection getAndroidPrebuilt(String apiLevel) {
files("$sdkLoc/platforms/android-$apiLevel/android.jar")
@ -98,13 +102,11 @@ android {
buildTypes {
release {
runProguard false
minifyEnabled false
}
}
tasks.withType(Compile) { task ->
options.encoding = "UTF-8"
}
compileOptions.encoding = "UTF-8"
}