Add java21-to-25 module: compile-once probes on JDK 21 and 25, removed APIs, build matrix, pinning, compact headers and containers
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Runs the small Gradle project in ../lanes/upgrade (Java 25 toolchain) with two Gradle versions, Gradle itself on JDK 25.
|
||||
# OLD_GRADLE=/path/to/gradle-8.14.3/bin/gradle NEW_GRADLE=/path/to/gradle-9.x/bin/gradle ./scripts/gradle.sh
|
||||
source "$(dirname "$0")/env.sh"
|
||||
{ echo "# 13-gradle: 'gradle run' with Gradle running on JDK $(ver "$J25")"
|
||||
for g in "${OLD_GRADLE:?}" "${NEW_GRADLE:?}"; do
|
||||
v=$("$g" --version 2>/dev/null | grep -E '^Gradle ' | head -1); echo "--- $v"
|
||||
rm -rf "$W/gp"; cp -r "$ROOT/../lanes/upgrade" "$W/gp"
|
||||
(cd "$W/gp" && JAVA_HOME=$J25 "$g" --no-daemon -q run 2>&1 | clean | grep -E -A1 'running on|What went wrong' | head -3 | sed 's/^/ /')
|
||||
done
|
||||
} > "$OUT/13-gradle.txt"
|
||||
Reference in New Issue
Block a user