Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency com.github.spotbugs.snom:spotbugs-grad…
…le-plugin to v6 (#1177) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) | `5.2.5` -> `6.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.github.spotbugs.snom:spotbugs-gradle-plugin/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.github.spotbugs.snom:spotbugs-gradle-plugin/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.github.spotbugs.snom:spotbugs-gradle-plugin/5.2.5/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.github.spotbugs.snom:spotbugs-gradle-plugin/5.2.5/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spotbugs/spotbugs-gradle-plugin (com.github.spotbugs.snom:spotbugs-gradle-plugin)</summary> ### [`v6.0.1`](https://github.com/spotbugs/spotbugs-gradle-plugin/releases/tag/6.0.1) [Compare Source](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/6.0.0...6.0.1) ##### Bug Fixes - **deps:** update dependency com.android.tools.build:gradle to v8.2.0 ([8ffba8e](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/8ffba8e1360fc3a3202840e38c1c0673145908d9)) ### [`v6.0.0`](https://github.com/spotbugs/spotbugs-gradle-plugin/releases/tag/6.0.0) [Compare Source](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.2.5...6.0.0) ##### Bug Fixes - enable java Tool Chain support by default ([c94b886](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/c94b8865d844064f4900d156192c0ea448277854)), closes [#​907](https://github.com/spotbugs/spotbugs-gradle-plugin/issues/907) - merge changes from the master branch ([12ba901](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/12ba901e82d5c45b5db28ef983e2e0de2db21850)) - publish Java 11 class files ([1c1955e](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/1c1955efc33a80498d5c8f31937bd8f6a090a5a9)) - remove deprecated methods `SpotBugsTask.getEnabledReports()` and `SpotBugsTask.getFirstEnabledReport` ([2ab3c45](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/2ab3c45bf6215ba1f35e87427893d4c97a7190bc)) - remove the deplicated `SpotBugsRunnerForWorker` API ([aa75fbc](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/aa75fbca8951d51e53b1d20bc82c060166e30210)) - replace the usage of duplicated `project.buildDir` API ([5abbf2d](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/5abbf2d5357c26d44dee427feddcc72a155170ae)) ##### Features - drop support for Gradle 7.0 ([4b0f800](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/4b0f8006fdfe6345a74edb356e3c3b1da13225f1)), closes [#​927](https://github.com/spotbugs/spotbugs-gradle-plugin/issues/927) - rewrite the implementation into Kotlin ([#​924](https://github.com/spotbugs/spotbugs-gradle-plugin/issues/924)) ([bcf4706](https://github.com/spotbugs/spotbugs-gradle-plugin/commit/bcf470667e8e5acc93b7b1f3699aedebbfec95d0)) ##### BREAKING CHANGES - The convention API provides replacement from 7.1 and later, so we use 7.1 as minimal required version. Signed-off-by: Kengo TODA <skypencil@gmail.com> - This plugin has been rewritten in Kotlin, and it may break the binary compatibility of public API. Intentional changes are listed as follows: ##### Changes for Groovy buildscripts About `effort` and `reportLevel` properties of `SpotBugsTask` and `SpotBugsExtension`, Groovy buildscripts should use use `valueOf(String)` method explicitly. This limitation is caused by a [known issue of the Groovy language](https://discuss.kotlinlang.org/t/bug-cannot-use-kotlin-enum-from-groovy/1521): ```groovy // before (v5) spotbugs { effort = 'default' reportLevel = 'default' } // after (v6) spotbugs { effort = Effort.valueOf('DEFAULT') reportLevel = Confidence.valueOf('DEFAULT') } ``` ##### Changes for Kotlin buildscripts It is recommended to use Gradle 8.2 or later, then you can enjoy the [simple property assignment](https://docs.gradle.org/8.2/release-notes.html#simple-property-assignment-in-kotlin-dsl-enabled-by-default) feature by default: ```kotlin // 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: ```kotlin // new (Gradle 8.2 and later) import com.github.spotbugs.snom.assign spotbugs { effort = "DEFAULT" reportLevel = "DEFAULT" } ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/line/line-bot-sdk-java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information