android-calculatorpp/build.gradle

40 lines
963 B
Groovy
Raw Normal View History

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 {
2017-05-25 08:10:09 -04:00
classpath 'com.android.tools.build:gradle:2.3.2'
2016-01-13 11:41:05 -05:00
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
ext {
versions = [supportLib: "25.3.1",
gpsLib : "10.2.6",
sdk : [compile: 25, buildTools: "25.0.3", min: 19, target: 25]]
}
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 {
2017-05-25 08:46:48 -04:00
jcenter()
2016-01-04 06:39:25 -05:00
def androidHome = System.getenv("ANDROID_HOME")
maven {
url "$androidHome/extras/android/m2repository/"
}
maven {
url "$androidHome/extras/google/m2repository/"
}
2016-01-06 06:38:39 -05:00
flatDir {
dirs 'misc/libs'
}
2016-02-28 15:34:58 -05:00
if (!project.hasProperty("ossrhUsername")) {
ext.ossrhUsername = "no-username"
}
if (!project.hasProperty("ossrhPassword")) {
ext.ossrhPassword = "no-password"
}
2015-01-20 17:52:52 -05:00
}
2015-01-20 17:50:46 -05:00
}