Merge pull request #1279 from litetex/replace-spotbugs-with-jsr305

Only include ``jsr305`` and not complete spotbugs
This commit is contained in:
Stypox 2025-02-15 15:06:59 +01:00 committed by GitHub
commit e506ad3212
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ allprojects {
ext {
nanojsonVersion = "1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
spotbugsVersion = "4.8.6"
jsr305Version = "3.0.2"
junitVersion = "5.11.4"
checkstyleVersion = "10.4"
}

View File

@ -27,7 +27,7 @@ dependencies {
implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
implementation 'org.jsoup:jsoup:1.17.2'
implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
implementation "com.google.code.findbugs:jsr305:$jsr305Version"
// do not upgrade to 1.7.14, since in 1.7.14 Rhino uses the `SourceVersion` class, which is not
// available on Android (even when using desugaring), and `NoClassDefFoundError` is thrown

View File

@ -1,4 +1,4 @@
dependencies {
implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
implementation "com.google.code.findbugs:jsr305:$jsr305Version"
}