Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.7 #1324

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.github.spotbugs.snom:spotbugs-gradle-plugin 5.1.3 -> 6.0.7 age adoption passing confidence
com.github.spotbugs.snom:spotbugs-gradle-plugin 6.0.6 -> 6.0.7 age adoption passing confidence

Release Notes

spotbugs/spotbugs-gradle-plugin (com.github.spotbugs.snom:spotbugs-gradle-plugin)

v6.0.7

Compare Source

Bug Fixes
  • deps: update dependency com.android.tools.build:gradle to v8.2.2 (#​1101) (31852e4)

v6.0.6

Compare Source

Bug Fixes

v6.0.5

Compare Source

Bug Fixes
  • deps: update dependency com.android.tools.build:gradle to v8.2.1 (#​1085) (6f74150)

v6.0.4

Compare Source

Bug Fixes
  • Gradle plugin should require JVM 8 but require JVM 11 (#​1074) (7710423)

v6.0.3

Compare Source

Bug Fixes
  • deps: update dependency com.github.spotbugs:spotbugs to v4.8.3 (ae878ee)

v6.0.2

Compare Source

Bug Fixes
  • deps: update dependency com.tngtech.archunit:archunit to v1.2.1 (#​1056) (5500c71)

v6.0.1

Compare Source

Bug Fixes
  • deps: update dependency com.android.tools.build:gradle to v8.2.0 (8ffba8e)

v6.0.0

Compare Source

BREAKING CHANGES

a. This plugin is now built to Java 11 class file format. It requires Gradle to run on Java 11 or later. (1c1955e)
b. Enable Java Tool Chain support by default (c94b886). To disable it, set useJavaToolchains = false in the spotbugs extension.
c. Drop support for Gradle 7.0 (4b0f800). The convention API provides replacement from 7.1 and later, so we use 7.1 as minimal required version.
d. Remove deprecated methods SpotBugsTask.getEnabledReports() and SpotBugsTask.getFirstEnabledReport (2ab3c45)
e. The effort and reportLevel properties of SpotBugsTask and SpotBugsExtension now accept enum values instead of String instances. Read the following notes for detail.

Note for Groovy buildscripts

Groovy buildscripts should use use valueOf(String) method explicitly for effort and reportLevel properties of SpotBugsTask and SpotBugsExtension. For example:

// before (v5)
spotbugs {
    effort = 'default'
    reportLevel = 'default'
}

// after (v6)
spotbugs {
    effort = Effort.valueOf('DEFAULT')
    reportLevel = Confidence.valueOf('DEFAULT')
}

This limitation is caused by a known issue of the Groovy language.

Note for Kotlin buildscripts

It is recommended to use Gradle 8.2 or later, then you can enjoy the simple property assignment feature by default.

// legacy (Gradle 8.1 and older)
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort

spotbugs {
    effort.set(Effort.DEFAULT)
    reportLevel.set(Confidence.DEFAULT)
}

// new (Gradle 8.2 and later)
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort

spotbugs {
    effort = Effort.DEFAULT
    reportLevel = Confidence.DEFAULT
}

It is also possible to use string values, however, it is not recommended due to lack of type-safety:

// new (Gradle 8.2 and later)
import com.github.spotbugs.snom.assign

spotbugs {
    effort = "DEFAULT"
    reportLevel = "DEFAULT"
}

Internal Changes

  • Remove the deplicated SpotBugsRunnerForWorker API (aa75fbc)
  • Replace the usage of duplicated project.buildDir API (5abbf2d)
  • Rewrite the implementation into Kotlin (#​924) (bcf4706)

v5.2.5

Compare Source

Bug Fixes
  • deps: update dependency com.github.spotbugs:spotbugs to v4.8.2 (b8e8c2c)

v5.2.4

Compare Source

Bug Fixes

v5.2.3

Compare Source

Bug Fixes
  • deps: update dependency com.github.spotbugs:spotbugs to v4.8.1 (#​1022) (c4a06c4)

v5.2.2

Compare Source

Bug Fixes
  • deps: update dependency com.tngtech.archunit:archunit to v1.2.0 (#​1020) (ec52702)

v5.2.1

Compare Source

Bug Fixes
  • deps: update dependency com.google.errorprone:error_prone_core to v2.23.0 (#​1010) (cc7699c)

v5.2.0

Compare Source

Features

v5.1.5

Compare Source

Bug Fixes
  • update dependency com.github.spotbugs:spotbugs to v4.8.0 (#​990) (17eccf7)

v5.1.4

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added 3. to review dependencies Pull requests that update a dependency file labels Jan 24, 2024
Copy link
Contributor

SpotBugs

CategoryBaseNew
Bad practice733
Correctness3434
Dodgy code2626
Internationalization66
Malicious code vulnerability4949
Multithreaded correctness33
Performance58
Total130159

SpotBugs increased!

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Merging #1324 (07e9c74) into master (eceea6a) will increase coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1324      +/-   ##
============================================
+ Coverage     50.97%   51.00%   +0.02%     
- Complexity      977      978       +1     
============================================
  Files           198      198              
  Lines          7298     7298              
  Branches        945      945              
============================================
+ Hits           3720     3722       +2     
+ Misses         3066     3065       -1     
+ Partials        512      511       -1     

see 1 file with indirect coverage changes

@AndyScherzinger AndyScherzinger merged commit 41f78d8 into master Jan 26, 2024
19 of 20 checks passed
@delete-merged-branch delete-merged-branch bot deleted the renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x branch January 26, 2024 17:45
@AndyScherzinger AndyScherzinger added this to the NC Android lib 2.19.0 milestone Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant