android-calculatorpp/build.gradle

46 lines
826 B
Groovy
Raw Normal View History

2015-01-20 17:50:46 -05:00
public int version_code() {
2016-01-04 06:39:25 -05:00
return 143
2015-01-20 17:50:46 -05:00
}
public String version_name() {
2016-01-04 06:39:25 -05:00
return '2.1.4'
2015-01-20 17:50:46 -05:00
}
public int android_sdk_version() {
2016-01-04 06:39:25 -05:00
return 23
2015-01-20 17:50:46 -05:00
}
public String android_build_tools_version() {
2016-01-04 06:39:25 -05:00
return '23.0.2'
2015-01-20 17:50:46 -05:00
}
public String android_min_sdk_version() {
2016-01-04 06:39:25 -05:00
return 9
2015-01-20 17:50:46 -05:00
}
buildscript {
2016-01-04 06:39:25 -05:00
repositories {
2016-01-04 18:25:36 -05:00
jcenter()
2015-01-20 17:50:46 -05:00
}
2016-01-04 06:39:25 -05:00
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
2016-01-04 06:39:25 -05:00
}
2015-01-20 17:52:52 -05:00
2016-01-04 06:39:25 -05:00
allprojects {
repositories {
mavenCentral()
def androidHome = System.getenv("ANDROID_HOME")
maven {
url "$androidHome/extras/android/m2repository/"
}
maven {
url "$androidHome/extras/google/m2repository/"
}
def userHome = System.getenv("HOME")
maven {
url "$userHome/.m2/repository/"
}
2015-01-20 17:52:52 -05:00
}
2015-01-20 17:50:46 -05:00
}