gradle-purifier feature matrix
Declared behavior and capabilities. Back to documentation.
| Feature | Behavior |
|---|---|
| Build isolation | nix-sandbox |
| Build outputs | packages, tests, release, fetches |
| Credentials | Unknown: This capability is not established by the reviewed integration record. |
| Dependency sources | Unknown: This capability is not established by the reviewed integration record. |
| LSP completion | Unknown: This capability is not established by the reviewed integration record. |
| Locked dependency sources through LSP | Unknown: This capability is not established by the reviewed integration record. |
| LSP diagnostics | Unknown: This capability is not established by the reviewed integration record. |
| LSP definition lookup | Unknown: This capability is not established by the reviewed integration record. |
| Offline language-server use | Unknown: This capability is not established by the reviewed integration record. |
| Language tooling mechanism | native build import |
| Editor integration | Supported |
| Inputs | Unknown: This capability is not established by the reviewed integration record. |
| Integration | wrapper |
| Lockfiles | gradle-purifier.lock.json |
| Missing lock | Unknown: This capability is not established by the reviewed integration record. |
| Nix builder | pkgs.gradle-purifier.buildGradleProject |
| Offline limits | Unknown: This capability is not established by the reviewed integration record. |
| Offline scope | Unknown: This capability is not established by the reviewed integration record. |
| Platform scope and limitations | Apple Silicon macOS support is contributor-reported from unsandboxed builds; no macOS CI is configured, Sandboxed Darwin –check rebuilds have not been verified, Reported Darwin validation excludes Kotlin/Native fixtures on ARM64 and the manual lock-real-world job |
| Platforms | x86_64-linux, aarch64-linux, aarch64-darwin |
| Incoming projections | conditional |
| Incoming projection formats | Maven |
| Outgoing projections | conditional |
| Outgoing projection formats | Maven |
| Relock | Unknown: This capability is not established by the reviewed integration record. |
| Stale lock | Unknown: This capability is not established by the reviewed integration record. |
| Tool | Gradle |
For tool, language and platform choices, see Version compatibility.
Version compatibility
Packaged versions
- JDK 21.0.11 Runtime running the tool macOS ARM64
- Python 3.14.8 Capture / build helper Linux x86-64 · Linux ARM64 · macOS ARM64
- Plugin/extension build JDK 21.0.11 Capture / build helper macOS ARM64
- JDK 21.0.12.1+1 Runtime running the tool Linux x86-64 · Linux ARM64
- Plugin/extension build JDK 21.0.12.1+1 Capture / build helper Linux x86-64 · Linux ARM64
Version definitions
flake.lock · pkgs/gradle-purifier/default.nix · src/gradle-purifier.sh · README.md#L300-L324 · src/gradle-purifier.sh#L122-L138 · README.md#L271-L314 · src/gradle-purifier.sh#L465-L469 · pkgs/gradle-purifier/default.nix#L31 · src/gradle-purifier.sh#L486 · README.md#L295-L314 · README.md#L295-L328
Project-selected versions
| Component | Selected by |
|---|---|
| Build tool / package manager: Gradle | The project’s Gradle wrapper selects the Gradle distribution.gradlew, gradle/wrapper/gradle-wrapper.properties |
| Runtime running the tool: JDK | For projects without gradle-purifier.sdks.json, JAVA_HOME selects the capture JVM when –java is absent; otherwise the packaged fallback is used.JAVA_HOME |
| Runtime running the tool: JDK | For projects without gradle-purifier.sdks.json, an explicit –java option selects the JDK major for capture.--java |
| Runtime running the tool: JDK | On x86_64-linux, the project SDK declaration selects a source-owned manager adapter with explicit executable and runtime home.gradle-purifier.sdks.json |
| Project compiler: JDK | On x86_64-linux, the project SDK declaration supplies immutable SDK candidates; original native Gradle compiler and Javadoc selections must match declared exact SDK identities.gradle-purifier.sdks.json |
| Project runtime: JDK | On x86_64-linux, the project SDK declaration supplies immutable SDK candidates; original native Test and JavaExec selections must match declared exact SDK identities.gradle-purifier.sdks.json |
Requirements
-
Gradle itself comes from the project’s wrapper; the purifier does not bundle a fixed Gradle distribution.
-
The recording agent requires Java 17-compatible bytecode and APIs. The released CLI runs it on its bundled JDK 21, independently of the JVM selected to run Gradle.
-
Source mode binds a mandatory actual manager even with zero SDK tasks or only manager-SDK tasks. Exact SDK output/home/Nix contexts and manager executable/runtime home identities are reconstructed from immutable GitHub source pins; Java version strings never select a replacement. Declaration changes require relocking; –java and direct builder JDK overrides cannot mix with this mode.
-
Source mode is x86_64-linux with immutable GitHub sources and immutable GitHub transitive inputs only. Original native SDK selections and discovery configuration take precedence; ordinary Gradle/IDE use requires working original discovery and declared manager. Prefetch does not rewrite project/global properties. This mechanism establishes no Java6/7 or version-range compatibility claim.
Tested combinations
Gradle 8.14.3 OpenJDK 21.0.12.1+1 Linux x86-64 · Linux ARM64
Full toolchain roles
- Project compiler: OpenJDK 21.0.12.1+1
- Build tool / package manager: Gradle 8.14.3
- Runtime running the tool: OpenJDK 21.0.12.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Prefetch
- Native Nix input composition
- Project build
- Project tests
- Native publication
- Ordinary Maven consumer
- Ordinary Gradle consumer
- Conflicting dependency rejection
Limits and source evidence
- Direct and transitive projected inputs, included-build publication without compiling the working tree, ordinary Maven and Gradle consumers with class-origin checks, and rejection of a competing native dependency. The CI invocation uses the local composition producer; optional real Maven producer and shared graph-helper paths are not credited.
Source revision 759d96470f4857e90fffcba17ab532efda572449.
Linux ARM64 (aarch64-linux) — Checks
Checked operations
- Native lock capture
- Prefetch
- Native Nix input composition
- Project build
- Project tests
- Native publication
- Ordinary Maven consumer
- Ordinary Gradle consumer
- Conflicting dependency rejection
Limits and source evidence
- Direct and transitive projected inputs, included-build publication without compiling the working tree, ordinary Maven and Gradle consumers with class-origin checks, and rejection of a competing native dependency. The CI invocation uses the local composition producer; optional real Maven producer and shared graph-helper paths are not credited.
Source revision 759d96470f4857e90fffcba17ab532efda572449.
Gradle 8.14 OpenJDK 21.0.12.1+1 Linux x86-64 · Linux ARM64
Full toolchain roles
- Project compiler: OpenJDK 21.0.12.1+1
- Build tool / package manager: Gradle 8.14
- Runtime running the tool: OpenJDK 21.0.12.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project tests
Limits and source evidence
- SNAPSHOT/Groovy fixture: unchanged deterministic relock, prefetch, explicit offline clean check and a zero-failure JUnit report. This driver does not test publication or ordinary downstream consumption.
Source revision 759d96470f4857e90fffcba17ab532efda572449.
Linux ARM64 (aarch64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project tests
Limits and source evidence
- SNAPSHOT/Groovy fixture: unchanged deterministic relock, prefetch, explicit offline clean check and a zero-failure JUnit report. This driver does not test publication or ordinary downstream consumption.
Source revision 759d96470f4857e90fffcba17ab532efda572449.
Gradle 7.6.6 OpenJDK 8u504-b01 (Project compiler, Project runtime) · OpenJDK 17.0.20.1+1 (Runtime running the tool) Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 8u504-b01
- Build tool / package manager: Gradle 7.6.6
- Runtime running the tool: OpenJDK 17.0.20.1+1
- Project runtime: OpenJDK 8u504-b01
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Relock after relocation with fresh caches
- Prefetch
- Offline native build
- Native build in an isolated network namespace
- Project build
- Project tests
- Nix build
- Native publication
- Ordinary Java consumer
- Unchanged project sources
- Published class bytes match native compilation
Limits and source evidence
-
One unchanged existing fixture/profile, available in purifier release v0.1.14. Gradle runs on Java 17; Java compilation, the asserting :epochTest JavaExec task and both ordinary consumers execute on Java 8. The published class-file major version is 52.
-
The 14-stage proof includes byte-identical relocks before and after relocation, prefetch, an empty native Gradle cache before an offline clean/check in an OS network namespace, sandbox tests, local Maven publication and ordinary Java 8 consumer compilation/execution. Prefetched Nix store inputs remain available.
-
The default :test task selects Java 17 but is skipped. It supplies selection metadata, not Java 17 test execution or a JUnit/Test-framework lifecycle claim.
-
The published example/Epoch.class bytes match the independently compiled native class. Whole native and published JAR bytes differ; no whole-JAR or POM byte parity, or ordinary Maven/Gradle dependency-resolution claim is made.
-
Only this exact x86_64-linux tuple is recorded; no version interval, other SDK combination or other platform is inferred.
Source revision fa0cd7653fed12aabd6da5fcada1e4f33c96779b.
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Relock after relocation with fresh caches
- Prefetch
- Offline native build
- Native build in an isolated network namespace
- Project build
- Project tests
- Nix build
- Native publication
- Ordinary Java consumer
- Unchanged project sources
- Published class bytes match native compilation
Limits and source evidence
-
Exact source-mode lifecycle released in v0.1.20: Gradle7.6.6, manager OpenJDK17.0.20.1+1 and project compiler, real JUnit Test, asserting JavaExec and Javadoc on OpenJDK8u504-b01. Project gradle-purifier.sdks.json selects published shared adapters from immutable purifier f444063c705056a605583bd273cc8147f57808ee (v0.1.52).
-
Eleven recorded stages include source/SDK acquisition, capture, byte-identical relock and relocated relock, prefetch, clean/check with empty native Gradle cache in an OS network namespace, pure/no-IFD tests, native Maven publication and ordinary Java8 consumer compilation/execution. Prefetched Nix store inputs remain available.
-
Published example/Main.class bytes match the independently native-compiled class and have class-file major52. No whole-JAR/POM byte parity or ordinary Maven/Gradle dependency-resolution claim.
-
All23closed-schema cases, zero-task and all-manager mandatory-manager controls, and13negative stages pass. Same Java version with a different undeclared SDK identity is rejected; an explicit alternate declaration is accepted. These controls do not establish other version/platform lifecycle points.
-
Original native discovery and project files are preserved. Ordinary Gradle and IDE use still require working original SDK discovery configuration and the declared manager. This backend is x86_64-linux with immutable GitHub sources/transitive inputs only; no Java6/7, arbitrary SDK tuple, continuous range or tier claim.
Source revision 9c19f8d47def476f9afe4d8940f0076f0b95318f.
CI run · CI run · Source · Source · Source · Source · Source
Gradle 5.6.4 OpenJDK 8u504-b01 (Project compiler, Project runtime) · OpenJDK 11.0.32.1+1 (Runtime running the tool) Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 8u504-b01
- Build tool / package manager: Gradle 5.6.4
- Runtime running the tool: OpenJDK 11.0.32.1+1
- Project runtime: OpenJDK 8u504-b01
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Native build in an isolated network namespace
- Project build
- Project tests
- Nix build
- Unchanged project sources
Limits and source evidence
-
One basic Java legacy Upload profile with pinned manager Java 11.0.32.1+1 and compiler, asserting test runtime and Javadoc Java 8u504-b01; no arbitrary SDK source, continuous version range or tier claim.
-
The basic and selected-SDK scenarios each pass 13 stages, including new capture, byte-idempotent relock, cold offline replay, sandbox builds and rebuilds. Real JUnit, JavaExec and Javadoc execute.
-
Raw legacy JAR/POM release works. Strict root/package projections and purifier CLI publish remain unsupported, including with old locks.
-
Only a literal Groovy settings subset is supported. The 21 native settings cases do not establish full capture coverage for each case.
-
Controlled plugin testing uses an external native repository init script and does not establish remote settings-plugin support.
-
Native and pure POM bytes and JAR entry payloads match; cross-build raw ZIP bytes differ. Within capture, the original and mirrored JAR bytes match. No whole-JAR cross-build byte-equality claim.
Source revision 82e5106ee2c6c02e57d2d4f256bbca10eab9da25.
Gradle 6.9.4 OpenJDK 8u504-b01 (Project compiler, Project runtime) · OpenJDK 11.0.32.1+1 (Runtime running the tool) Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 8u504-b01
- Build tool / package manager: Gradle 6.9.4
- Runtime running the tool: OpenJDK 11.0.32.1+1
- Project runtime: OpenJDK 8u504-b01
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Relock after relocation with fresh caches
- Prefetch
- Offline native build
- Native build in an isolated network namespace
- Project build
- Project tests
- Nix build
- Native publication
- Ordinary Java consumer
- Unchanged project sources
Limits and source evidence
-
Rechecked on released v0.1.20 with the same pinned CLI-selected Nix SDK outputs. This point exercises existing legacy selection, not the new project-flake SDK source mode; no arbitrary patch/vendor/project-flake SDK source claim.
-
Basic original legacy uploadArchives lifecycle; compiler8 and asserting JavaExec check8; standard Test disabled, no JUnit execution credit.
-
Native and purified Java8 consumer compile/execute, relocated byte-identical relock, cold namespace replay and Nix tests/release passed.
-
CLI publish deploys Nix-produced release artifact through original uploadArchives; compiler sentinel guards against native recompilation.
-
Deployed JAR matches Nix release SHA; projected JAR/POM match deployed bytes. No claim of native-versus-published class byte equality.
-
No range or tier promotion; other metadata/composition cases require separate bounded evidence.
Source revision 9c19f8d47def476f9afe4d8940f0076f0b95318f.