forked from bcgit/bc-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs.gradle
68 lines (44 loc) · 884 Bytes
/
spotbugs.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.2"
classpath "net.saliman:gradle-cobertura-plugin:2.2.8"
}
}
allprojects {
apply plugin: 'java'
apply plugin: "com.github.spotbugs"
apply plugin: 'net.saliman.cobertura'
repositories {
mavenCentral()
}
dependencies {
}
compileJava {
options.debug = true
}
spotbugs {
toolVersion = '3.1.6'
}
tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
xml.enabled = false
html.enabled = true
}
}
spotbugs {
excludeFilter = file("${rootDir}/spotbugs/excludeFilter.xml");
}
}
test {
exclude('**/*')
}
subprojects {
apply plugin: 'eclipse'
sourceCompatibility = 1.5
targetCompatibility = 1.5
}