Skip to content

Stop carrying Gradle in the source tree - #8

Open
Xlythe wants to merge 1 commit into
pr/3-geometryfrom
pr/4-build-hygiene
Open

Xlythe wants to merge 1 commit into
pr/3-geometryfrom
pr/4-build-hygiene

Conversation

@Xlythe

@Xlythe Xlythe commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Last of four stacked PRs, based on pr/3-geometry. Small and separable from the rest.

The Gradle wrapper is build tooling, not code: gradle-wrapper.jar is a binary, the two scripts are generated, and none of them describe this library. All four are untracked and ignored, and Gradle is provisioned instead — the workflow names the version it wants and gradle/actions/setup-gradle installs it, which makes that the one place that has to know. local.properties was already ignored and had never been committed.

Worth knowing before merging: there is no ./gradlew to run any more, so a fresh checkout needs Gradle 9.9.2 on PATH. That is the trade for keeping a binary out of the tree.

Also corrects a test comment that told the reader to use ./gradlew and named API 30 when the configured device matrix is API 28, and adds the whole-library coverage gate to CI — it existed but nothing ran it, so the floor it enforced was nothing.

The wrapper is build tooling, not code: gradle-wrapper.jar is a binary, the two
scripts are generated, and none of them describe this library. They are untracked
and ignored, and Gradle is provisioned instead - CI names the version it wants and
the action installs it, which is the one place that has to know.

local.properties was already ignored and was never committed.

Worth knowing for a fresh checkout: there is no ./gradlew to run any more, so
Gradle 9.9.2 has to be on PATH. That is the trade for not keeping a binary in the
tree, and it is why the version lives in the workflow where it can be read.

The device-matrix comment said API 30 while the configured matrix is API 28, and
told the reader to use ./gradlew. Both corrected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant