Repository navigation
Format the 17 line with 17.1.0 - #302
Merged
Merged
Conversation
The 21 line's Gradle plugin does not load on Gradle with JDK 17, so the 17 line applied none until its own was out. 17.1.0 is, and formats this repository now, with formatDiff as on the 21 line. It runs the formatter inside the Gradle JVM: the line has no native image of its own. The README and CLAUDE.md no longer send changes to the 21 line's runnable jar.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before this PR
The 21 line's Gradle plugin, which formats this repository on 21.X.X, does not load on Gradle with JDK 17 (class file 65), so
17.X.Xapplied none (#298) and sent changes to the 21 line's runnable jar on JDK 21 until 17.1.0 was out.After this PR
gradle-open-java-format:17.1.0, and./gradlew formatDiffformats the files you changed, as on the 21 line.gradle.propertiesalready passes: the 17 line has no native image of its own, soopenjavaformat.native.formatterstays off.Checked on Temurin 17.0.17:
formatDiffprints "Using the Java-based formatter" and puts back a line made unformatted on purpose, and./gradlew checkpasses.Possible downsides?