-
Notifications
You must be signed in to change notification settings - Fork 224
/
build.gradle
46 lines (39 loc) · 744 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
41
42
43
44
45
46
apply plugin: 'java'
apply plugin: 'findbugs'
apply plugin: 'checkstyle'
dependencies {
testCompile 'junit:junit:4.12'
}
repositories {
mavenCentral()
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
tasks.withType(FindBugs) {
reports {
xml.enabled false
html.enabled true
}
}
checkstyle.toolVersion = 7.3
tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
}
}
task myJavadocs(type: Javadoc) {
source = sourceSets.main.allJava
options.memberLevel = JavadocMemberLevel.PRIVATE
classpath = configurations.compile
}
sourceSets {
main {
java {
srcDirs = [projectDir]
}
}
}