Skip to content

Switch in-repo formatting to simple local gradle task#628

Open
ZacSweers wants to merge 6 commits into
facebook:mainfrom
ZacSweers:z/fixGradle
Open

Switch in-repo formatting to simple local gradle task#628
ZacSweers wants to merge 6 commits into
facebook:mainfrom
ZacSweers:z/fixGradle

Conversation

@ZacSweers

Copy link
Copy Markdown
Contributor

The previous setup of using the ktfmt Gradle plugin but backdooring in the local ktfmt was finicky and resulting periodic stale runs and prone to ABI breakages. This switches the repo to just run a simple local JavaExec that consumes the compiler artifact directly. This way it's always aligned and doesn't get dinged by Gradle hacks.

Running this also caught and fixed a number of formatting issues on main!

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2026
@ZacSweers

Copy link
Copy Markdown
Contributor Author

the codeql failure seems like a CI issue?

@hick209

hick209 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Yeah, I need to fix this codeql thing, don't worry about it.

Great set of changes here. I sent you some comments on slack about it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants