Commit Graph

4 Commits

Author SHA1 Message Date
Morgan Jones
dd421437ce gradle: check GRADLE_OPTS in tests
We can replace the org.gradle.native.dir environment variable with
GRADLE_OPTS and -D which seems like the "nice" way to do the same thing
now.
2025-12-03 14:45:15 -08:00
Benedikt Ritter
6901ff2026 Improve matching the Java version
Co-authored-by: Olli Helenius <liff@iki.fi>
2025-04-25 19:29:43 +00:00
Benedikt Ritter
47fdf06101 gradle: Improve toolchains test
Previously the test relied on the output of the javaToolchains task and
therefore on the way that toolchains are passed to Gradle. This was
brittle in case we want to change the way of how we supply toolchains to
Gradle (see e.g. #366929).

After this change, instead of inspecting the output of javaToolchains,
the toolchains test now tries to assemble a project using a toolchain
that was passed via the gradle.override.
2025-04-25 20:56:01 +02:00
Olli Helenius
55a283228c gradle: add package tests 2024-03-10 13:07:58 +02:00