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

Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.2.5 to 6.0.1 #327

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.2.5 to 6.0.1.

Release notes

Sourced from com.github.spotbugs.snom:spotbugs-gradle-plugin's releases.

6.0.1

6.0.1 (2023-12-02)

Bug Fixes

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

6.0.0

6.0.0 (2023-12-02)

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)
</tr></table>

... (truncated)

Commits
  • 8ffba8e fix(deps): update dependency com.android.tools.build:gradle to v8.2.0
  • c7f8f06 chore(deps): update kotestversion to v5.8.0
  • 988b442 chore(deps): update plugin org.jetbrains.dokka to v1.9.10
  • f18fd47 chore(deps): update plugin io.gitlab.arturbosch.detekt to v1.23.4
  • 11581da docs: Update README.md
  • e8d955d Merge pull request #1003 from spotbugs/beta
  • fa649bd Merge branch 'master' into beta
  • 7888bd2 chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle t...
  • f4f6927 Merge branch 'master' into beta
  • 60b5b3d chore(deps): update plugin com.github.spotbugs to v5.2.5 (#1045)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.2.5 to 6.0.1.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](spotbugs/spotbugs-gradle-plugin@5.2.5...6.0.1)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file breaking change Pull requests that breaks backward compatibility labels Dec 4, 2023
Copy link

sonarcloud bot commented Dec 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bae9fb6) 100.00% compared to head (b6af541) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #327   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       826       826           
===========================================
  Files            122       122           
  Lines           1798      1798           
  Branches         129       129           
===========================================
  Hits            1798      1798           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mfvanek mfvanek merged commit 37f8e0d into master Dec 4, 2023
9 checks passed
@mfvanek mfvanek deleted the dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.0.1 branch December 4, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Pull requests that breaks backward compatibility dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant