forked from davidar/lljvm
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
45 lines (37 loc) · 835 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'findbugs'
//Java 7
sourceCompatibility = 1.7
targetCompatibility = 1.7
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}
//FindBugs lint tool
findbugs {
ignoreFailures = true
toolVersion = "3.0.1"
sourceSets = [sourceSets.main]
reportsDir = file("$project.buildDir/reports/findbugs")
effort = "max"
}
tasks.withType(FindBugs) {
reports {
xml.enabled false
html.enabled true
}
}
repositories {
mavenCentral()
}
//get more info from tests
test {
testLogging {
exceptionFormat = 'full'
//see https://discuss.gradle.org/t/whats-upcoming-in-gradle-1-1-test-logging/7741
events "passed", "skipped", "failed", "standardError", "standardOut"
}
}
dependencies {
testCompile 'junit:junit:4.12'
}