android-calculatorpp/build.gradle
2016-02-28 21:34:58 +01:00

39 lines
893 B
Groovy

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
}
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/"
}
flatDir {
dirs 'misc/libs'
}
if (!project.hasProperty("ossrhUsername")) {
ext.ossrhUsername = "no-username"
}
if (!project.hasProperty("ossrhPassword")) {
ext.ossrhPassword = "no-password"
}
}
}