xvik / gradle-quality-plugin

Gradle quality plugin for Java and Groovy
http://xvik.github.io/gradle-quality-plugin
MIT License
134 stars 11 forks source link

Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 4.8.0 to 6.0.1 #97

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps com.github.spotbugs.snom:spotbugs-gradle-plugin from 4.8.0 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


Most Recent Ignore Conditions Applied to This Pull Request | Dependency Name | Ignore Conditions | | --- | --- | | com.github.spotbugs.snom:spotbugs-gradle-plugin | [>= 5.a, < 6] |

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 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)
dependabot[bot] commented 11 months ago

Superseded by #98.