-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compatibility issue introduced by ktfmt 0.51 #2172
Conversation
hick209
commented
Jun 14, 2024
•
edited by Goooler
Loading
edited by Goooler
- Closes Gradle plugin 6.25.0 incompatible with ktfmt 0.51 #2171.
- Handles Update dependency com.facebook:ktfmt to v0.51 - autoclosed #2163.
plugin-maven/src/main/java/com/diffplug/spotless/maven/kotlin/Ktfmt.java
Show resolved
Hide resolved
lib/src/ktfmt/java/com/diffplug/spotless/glue/ktfmt/KtfmtFormatterFunc.java
Show resolved
Hide resolved
lib/src/ktfmt/java/com/diffplug/spotless/glue/ktfmt/KtfmtFormatterFunc.java
Show resolved
Hide resolved
Thanks @Goooler for helping making the code in this PR better 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking into the issue you see there @Goooler, it does not look related to my changes. |
def args = [ | ||
'--add-opens=java.base/java.lang=ALL-UNNAMED' | ||
'--add-opens=java.base/java.lang=ALL-UNNAMED', | ||
'--add-opens=java.base/java.util=ALL-UNNAMED', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
I still wonder if this is related to my changes though, it does not look like it to me, but I'm fine with us landing it as part of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, this is a behavior change from Gradle 7.5, it affects tests.
Thanks for your great work here!
Your tests passed may be due to you using Java 11. |
Released in |