Skip to content

Validate Tool Version Properties #237

Closed

Description

@jzheaux

springJavaformatVersion, nohttpCheckstyleVersion, checkstyleToolVersion, and jacocoToolVersion are interpolated directly into dependency coordinates or tool versions without checking their format.

Acceptance criteria

  • A shared helper reads each property (falling back to the default), trims it, and rejects values that are not plain version strings
  • The duplicated getXVersion methods in SpringJavaCheckstylePlugin and SpringJacocoPlugin use it
  • Tests cover valid and invalid values

Activity

  1. added this to the 1.1.3 milestone on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: pluginAn issue related to the Gradle plugintype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions