17.1.0 #301
abashev
announced in
Announcements
17.1.0
#301
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The first release of the 17 line: the formatter and the Gradle plugin of 21.1.2, built for Java 17, for builds that run on JDK 17 to 20. On every file that javac 17 parses, 17.1.0 formats exactly as 21.1.2 does, so a build that checks the format on JDK 17 and on JDK 21 sees one output on both. On JDK 21 and later, use 21.x (#293).
What the line carries
dev.openjavaformat:open-java-format,-spiand-jdk-bootstrapon Maven Central, for Spotless'spalantirJavaFormatstep and for fmt-maven-plugin, and the Gradle plugindev.openjavaformat.java-formatwith its-idea,-spotlessand-providerIDs on the Gradle Plugin Portal. The runnable jar is on this release.openjavaformat.native.formatter.versionproperty; with 17.1.0, set it to21.1.2(#297).Formatter
extraneous semicolonat the same place as on 21.1.2, although javac 17 takes it, and an import that only a Javadoc reference to an anchor uses,{@link Set##anchor}, stays as on 21.1.2 (#298).This discussion was created from the release 17.1.0.
All reactions