android-calculatorpp/build.gradle
2017-05-25 14:59:53 +02:00

40 lines
961 B
Groovy

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
ext {
versions = [supportLib: "24.2.0",
gpsLib : "9.4.0",
sdk : [compile: 25, buildTools: "25.0.3", min: 9, target: 25]]
}
}
allprojects {
repositories {
jcenter()
def androidHome = System.getenv("ANDROID_HOME")
maven {
url "$androidHome/extras/android/m2repository/"
}
maven {
url "$androidHome/extras/google/m2repository/"
}
flatDir {
dirs 'misc/libs'
}
if (!project.hasProperty("ossrhUsername")) {
ext.ossrhUsername = "no-username"
}
if (!project.hasProperty("ossrhPassword")) {
ext.ossrhPassword = "no-password"
}
}
}