-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (33 loc) · 971 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
35
36
37
38
39
40
buildscript {
apply from: rootProject.file("gradle/versions.gradle")
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$rootProject.ext.gradleVersion"
classpath "net.serenity-bdd:serenity-gradle-plugin:1.9.6"
}
}
allprojects {
// Windows has a maximum path length of 260 characters - to avoid hitting this ceiling
// stage the builds close to the root of C://
if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
buildDir = "C:/temp/${rootProject.name}/${project.name}"
}
repositories {
google()
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}