Skip to content

add -parameters compiler flag if missing#1067

Draft
barbulescu wants to merge 1 commit into
openrewrite:mainfrom
barbulescu:add-parameters-compiler-flag-if-missing
Draft

add -parameters compiler flag if missing#1067
barbulescu wants to merge 1 commit into
openrewrite:mainfrom
barbulescu:add-parameters-compiler-flag-if-missing

Conversation

@barbulescu

@barbulescu barbulescu commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

What's changed?

Add -parameter to Java compiler or -java-parameters to Kotlin compiler for both Maven and Gradle builds if missing.

What's your motivation?

Anything in particular you'd like reviewers to focus on?

I saw that many lines were changed in recipes.csv file and I assume because I added these new recipes to the spring-framework-6.1.yml. Better to double check.

I wasn't able to test with a real project as Spring Initializer configures already the project with this flag.
Any idea?

Anyone you would like to review specifically?

@timtebeek

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jul 11, 2026
@timtebeek
timtebeek self-requested a review July 13, 2026 15:24
@barbulescu
barbulescu marked this pull request as draft July 13, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant