Migrate build scripts to Gradle

This commit is contained in:
2026-09-26 22:25:23 -07:00
parent 7a5764ebe0
commit 316accff2d
3 changed files with 4 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -euo pipefail
# Find project root (one directory above this script)
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@@ -7,8 +7,4 @@ PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$PROJECT_ROOT"
if [[ -x ./mvnw ]]; then
./mvnw package
else
mvn package
fi
exec ./gradlew build "$@"

View File

@@ -42,8 +42,4 @@ ensure_java_25() {
ensure_java_25
cd "$PROJECT_ROOT"
if [[ -x ./mvnw ]]; then
./mvnw install -DskipTests "$@"
else
mvn install -DskipTests "$@"
fi
exec ./gradlew publishToMavenLocal "$@"