File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ buildscript {
31
31
repositories {
32
32
mavenCentral()
33
33
jcenter()
34
+ maven {
35
+ url " https://plugins.gradle.org/m2/"
36
+ }
37
+ }
38
+
39
+ dependencies {
40
+ classpath " gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.0.5"
34
41
}
35
42
}
36
43
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
- apply plugin : ' findbugs '
2
+ apply plugin : " com.github.spotbugs "
3
3
4
4
group = ' io.objectbox'
5
5
version= rootProject. version
6
6
7
7
sourceCompatibility = JavaVersion . VERSION_1_8
8
8
targetCompatibility = JavaVersion . VERSION_1_8
9
9
10
- tasks. withType(FindBugs ) {
11
- reports {
12
- xml. enabled false
13
- html. enabled true
14
- }
15
- ignoreFailures = true
16
- }
17
-
18
10
dependencies {
19
11
compile fileTree(include : [' *.jar' ], dir : ' libs' )
20
12
compile project(' :objectbox-java-api' )
@@ -23,6 +15,10 @@ dependencies {
23
15
compile ' com.google.code.findbugs:jsr305:3.0.2'
24
16
}
25
17
18
+ spotbugs {
19
+ ignoreFailures = true
20
+ }
21
+
26
22
javadoc {
27
23
// Hide internal API from javadoc artifact.
28
24
exclude(" **/io/objectbox/Cursor.java" )
You can’t perform that action at this time.
0 commit comments