forked from robolectric/robolectric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (28 loc) · 811 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
allprojects {
repositories {
mavenLocal()
jcenter()
}
group = "org.robolectric"
version = thisVersion
}
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
}
}
apply plugin: 'nebula-aggregate-javadocs'
rootProject.gradle.projectsEvaluated {
rootProject.tasks['aggregateJavadocs'].failOnError = false
}
task aggregateTestReports(type: TestReport) {
def jobNumber = System.getenv('TRAVIS_JOB_NUMBER')
if (jobNumber == null) {
destinationDir = file("$buildDir/reports/allTests")
} else {
destinationDir = file("$buildDir/reports/allTests/$jobNumber")
}
}
// for use of external initialization scripts...
project.ext.allSdks = AndroidSdk.ALL_SDKS