Skip to content

build(deps): bump org.codenarc:CodeNarc from 3.6.0-groovy-4.0 to 3.7.0-groovy-4.0#1226

Merged
ihub-bot[bot] merged 1 commit into
mainfrom
dependabot/gradle/org.codenarc-CodeNarc-3.7.0-groovy-4.0
Dec 1, 2025
Merged

build(deps): bump org.codenarc:CodeNarc from 3.6.0-groovy-4.0 to 3.7.0-groovy-4.0#1226
ihub-bot[bot] merged 1 commit into
mainfrom
dependabot/gradle/org.codenarc-CodeNarc-3.7.0-groovy-4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Dec 1, 2025

Powered by Pull Request Badge

Bumps org.codenarc:CodeNarc from 3.6.0-groovy-4.0 to 3.7.0-groovy-4.0.

Release notes

Sourced from org.codenarc:CodeNarc's releases.

v3.7.0

See the Release Notes.

Changelog

Sourced from org.codenarc:CodeNarc's changelog.

CodeNarc Change Log

NOTE: CodeNarc now provides a separate 3.x.x-groovy-4.x version for use with Groovy 4.x.

Version 3.7.0 (Nov 2025)

  • #796: ImplicitReturnStatement rule: Fix false positive for try-with-resources blocks.
  • #799: UnusedImport rule: Fix false-positive for a statically imported constant used in a GString.
  • #797: Additional PropertiesFileRuleSetConfigurer.configure(..) logging to aid in debugging. (Daniel Hammer).
  • #805: Changes to support running in Java 11 and later.

Documentation

Build, Infrastructure and Tests

  • #806: Migrate publishing to Central Publisher Portal. Publish using vanniktech / gradle-maven-publish-plugin.
  • Upgrade to Shadow Gradle plugin 8.3.9.

Version 3.6.0 (Feb 2025)

Updated/Enhanced Rules and Bug Fixes

  • #790: Add ignoreMethodNames property to PublicMethodsBeforeNonPublicMethods and StaticMethodsBeforeInstanceMethods rules. (Peter Thomas)

New GitLab Report Writer

  • #786: GitLab Code Quality report. The new GitlabCodeQualityReportWriter produces a JSON report of the CodeNarc results, suitable for consumption by GitLab. (Ulrich Eckhardt)

Build, Infrastructure and Tests

  • #782: Upgrade to Groovy 4.0.24 and Groovy 3.0.23. MultipleUnaryOperatorsRule: Adjusted expected expression error message formatting.
  • #787: Add tests for IndentationRule for multi-line method parameters and multi-line strings.
  • #791: Support building CodeNarc with Gradle 8.x.
  • GenerateCodeNarcRulesProperties: Include in comment at top of “codenarc-base-rules.properties”: “Generated by the CodeNarc build process“.

Version 3.5.0 (July 2024)

New Rules

  • New Jenkins ruleset with 7 new rules. By default, these apply only to 'Jenkinsfile' (Daniel Zänker):
    • #771: ParameterOrReturnTypeNotSerializable rule: Every parameter and return type has to implement the Serializable interface in Jenkins
    • #770: ObjectOverrideOnlyNonCpsMethods rule: Overridden methods of the standard library (e.g. from java.lang.Object) are often called from there and therefore must not be CPS transformed in Jenkins.
    • #769: ForbiddenCallInCpsMethod rule: Some methods from the standard library cannot be CPS transformed and therefore must not be called from CPS transformed methods in Jenkins.
    • #768: ExpressionInCpsMethodNotSerializable rule: Every expression/variable in a CPS transformed method in Jenkins can potentially be serialized and should therefore implement the Serializable interface.
    • #767: CpsCallFromNonCpsMethod rule: CPS transformed methods may not be called from non CPS transformed methods in Jenkins.
    • #766: ClosureInGString rule: Closures are CPS transformed in Jenkins and will cause an error at runtime when used in GStrings. Typically, they can be replaced by variable interpolation.
    • #765: ClassNotSerializable rule: Classes in Jenkins pipeline libraries and Jenkinsfiles should generally implement the Serializable interface because every expression/variable used in a CPS transformed method can potentially be serialized.

... (truncated)

Commits

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 [org.codenarc:CodeNarc](https://github.com/CodeNarc/CodeNarc) from 3.6.0-groovy-4.0 to 3.7.0-groovy-4.0.
- [Release notes](https://github.com/CodeNarc/CodeNarc/releases)
- [Changelog](https://github.com/CodeNarc/CodeNarc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CodeNarc/CodeNarc/commits)

---
updated-dependencies:
- dependency-name: org.codenarc:CodeNarc
  dependency-version: 3.7.0-groovy-4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies A dependency upgrade java Pull requests that update Java code labels Dec 1, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Dec 1, 2025

Assignees

The following users could not be added as assignees: ihub-bot. Either the username does not exist or it does not have the correct permissions to be added as an assignee.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added dependencies A dependency upgrade java Pull requests that update Java code labels Dec 1, 2025
@ihub-bot ihub-bot Bot added this to the 1.9.3 milestone Dec 1, 2025
Copy link
Copy Markdown
Contributor

@ihub-bot ihub-bot Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IHub Bot: PR is approved by IHub Bot

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 1, 2025

@ihub-bot ihub-bot Bot merged commit 8f3d4ed into main Dec 1, 2025
27 of 28 checks passed
@ihub-bot ihub-bot Bot deleted the dependabot/gradle/org.codenarc-CodeNarc-3.7.0-groovy-4.0 branch December 1, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies A dependency upgrade java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants