2013-09-09 15:11:16 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2014-07-09 09:53:18 -04:00
|
|
|
// need this for com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT below (0.9.3 in repos doesn't work!)
|
|
|
|
// run ./install-custom-gradle-test-plugin.sh to pull the thing into the local repository
|
|
|
|
mavenLocal()
|
2013-09-09 15:11:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-06-04 04:22:05 -04:00
|
|
|
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
|
2014-06-28 14:15:19 -04:00
|
|
|
classpath 'com.android.tools.build:gradle:0.12.0'
|
2014-06-23 07:44:25 -04:00
|
|
|
classpath 'org.robolectric:robolectric-gradle-plugin:0.11.0'
|
2014-07-09 09:53:18 -04:00
|
|
|
classpath 'com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT'
|
2013-09-09 15:11:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
2013-05-25 17:13:39 -04:00
|
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
2014-06-09 16:09:30 -04:00
|
|
|
gradleVersion = '1.12'
|
2014-03-06 11:32:00 -05:00
|
|
|
}
|
2014-07-11 13:19:49 -04:00
|
|
|
|
|
|
|
subprojects {
|
|
|
|
tasks.withType(Test) {
|
|
|
|
maxParallelForks = 1
|
|
|
|
}
|
|
|
|
}
|