Skip to content
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

Merged
merged 7 commits into from
Jun 18, 2024

Conversation

hick209
Copy link
Contributor

@hick209 hick209 commented Jun 14, 2024

@hick209 hick209 marked this pull request as draft June 14, 2024 16:44
@hick209 hick209 marked this pull request as ready for review June 14, 2024 22:49
@Goooler Goooler changed the title [ktfmt] Fixed compatibility issue introduced by 0.51 Fix compatibility issue introduced by ktfmt 0.51 Jun 16, 2024
CHANGES.md Outdated Show resolved Hide resolved
plugin-gradle/CHANGES.md Outdated Show resolved Hide resolved
plugin-maven/CHANGES.md Outdated Show resolved Hide resolved
@hick209
Copy link
Contributor Author

hick209 commented Jun 17, 2024

Thanks @Goooler for helping making the code in this PR better 😃

Copy link
Member

@Goooler Goooler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hick209
Copy link
Contributor Author

hick209 commented Jun 18, 2024

Looking into the issue you see there @Goooler, it does not look related to my changes.
Also tests are clean here on my end
image

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',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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

Copy link
Member

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!

@Goooler
Copy link
Member

Goooler commented Jun 18, 2024

Your tests passed may be due to you using Java 11.

@Goooler Goooler merged commit f6694ec into diffplug:main Jun 18, 2024
16 checks passed
@hick209 hick209 deleted the ktfmt-0.51-fix branch June 19, 2024 12:11
@nedtwigg
Copy link
Member

Released in plugin-gradle 7.0.0.BETA2 and plugin-maven 2.44.0.BETA2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle plugin 6.25.0 incompatible with ktfmt 0.51
3 participants