-
Notifications
You must be signed in to change notification settings - Fork 80
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
Upgrade IJ plugin to new IJP Gradle plugin 2.0 #500
Conversation
Solves compat issues
Would not sync otherwise
Hi @rock3r! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Thanks for the contributions here! |
I have had a lot of pain trying to use an older JDK version than 17 with more recent tooling, so while not strictly mandatory, it's strongly advisable to. This still allows us to support 2 year old IJ versions. I'll update the actions definition accordingly. |
All done, and rebased the other PRs on top |
Looks like you still have errors in the build jobs |
@hick209 sorry! Difficult to test on a fork :) |
There was a failing test (not impacted by my changes), I fixed it... |
CI's green on my fork, hopefully we've gotten it to build again :) |
Yay! |
Let's try to ship this! I just need approval from someone else from my team and we should be good to go. |
@hick209 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Aye. Hopefully y'all can cut a release soon. I built a zip with the version bumped to 1.2 for personal use in the meantime, so I can use ktfmt in IJ 24.2 |
Linter is failing for formatting, but I've fixed that internally already. |
Kind of odd the formatting is tripping up the linter, I ran spotlessApply... |
That's on us, we haven't really setup spotless to format kotlin code. I'll try to fix that next |
This is step 1/2 needed to be able to run the ktlint plugin on IJ 24.2, which was just released today to stable. The next step will be to actually fix the crash on 24.2 — another PR coming for that.