#!/usr/bin/env bash # Regenerates every file in output/. Needs JDK 17+ (built with 25), Maven 3.9 and access to Maven Central. set -euo pipefail cd "$(dirname "$0")/.." unset JAVA_TOOL_OPTIONS python3 scripts/api_diff.py >/dev/null # 01, 02: jar-to-jar API diff (also downloads the jars) mvn -B -q clean test -Pjunit5 # 03, 04 on JUnit 5.14.4 mvn -B -q clean test -Pjunit6 # 03, 04 on JUnit 6.1.3 ./scripts/compile-old-apis.sh # 05, 06 ls -1 output