android-calculatorpp/build.gradle

40 lines
963 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: "25.3.1",
gpsLib : "10.2.6",
sdk : [compile: 25, buildTools: "25.0.3", min: 19, 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"
}
}
}