android-calculatorpp/build.gradle

39 lines
893 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 {
2016-04-11 06:58:59 -04:00
classpath 'com.android.tools.build:gradle:2.0.0'
2016-01-13 11:41:05 -05:00
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
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/"
}
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
}