Skip to content

Commit

Permalink
Enable spotbugs for java 11+ (deepjavalibrary#1010)
Browse files Browse the repository at this point in the history
Change-Id: I74effbf45492a5cf50e09ba8af0223d2b1bcb5a5
  • Loading branch information
frankfliu authored Jun 10, 2021
1 parent 4f38708 commit 23157fd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions paddlepaddle/paddlepaddle-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,3 @@ publishing.repositories {
}
}
}

if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
tasks.getByName("spotbugsMain").enabled = false
}
4 changes: 0 additions & 4 deletions tensorflow/tensorflow-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,3 @@ task downloadTensorflowNativeLib() {
new File("${BINARY_ROOT}/auto").mkdirs()
}
}

if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
tasks.getByName("spotbugsMain").enabled = false
}
4 changes: 0 additions & 4 deletions tflite/tflite-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,3 @@ flavorNames.each { flavor ->

checkstyleMain.enabled = false
pmdMain.enabled = false

if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
tasks.getByName("spotbugsMain").enabled = false
}

0 comments on commit 23157fd

Please sign in to comment.