android-calculatorpp/build.gradle

47 lines
748 B
Groovy
Raw Normal View History

2015-01-20 17:50:46 -05:00
public int version_code() {
2015-02-13 03:43:18 -05:00
return 140
2015-01-20 17:50:46 -05:00
}
public String version_name() {
2015-02-12 16:57:10 -05:00
return '2.1.1'
2015-01-20 17:50:46 -05:00
}
public int android_sdk_version() {
2015-01-27 06:45:16 -05:00
return 21
2015-01-20 17:50:46 -05:00
}
public String android_build_tools_version() {
return '21.1.2'
}
public String android_min_sdk_version() {
return 9
2015-01-20 17:50:46 -05:00
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
2015-01-28 15:00:05 -05:00
classpath 'com.android.tools.build:gradle:1.0.0'
2015-01-20 17:50:46 -05:00
}
}
allprojects {
repositories {
mavenCentral()
def androidHome = System.getenv("ANDROID_HOME")
maven {
url "$androidHome/extras/android/m2repository/"
}
maven {
url "$androidHome/extras/google/m2repository/"
}
2015-01-20 17:52:52 -05:00
def userHome = System.getenv("HOME")
maven {
url "$userHome/.m2/repository/"
}
2015-01-20 17:50:46 -05:00
}
}