Files
oyeshops/build.sh

20 lines
397 B
Bash
Executable File

#!/bin/bash
# build script for oyeShops plugin
export JAVA_HOME=/opt/homebrew/opt/openjdk@21
export PATH="$JAVA_HOME/bin:$PATH"
echo "building oyeShops plugin..."
./gradlew clean build
if [ $? -eq 0 ]; then
echo ""
echo "✓ build successful!"
echo "jar location: build/libs/oyeShops-1.0.0.jar"
ls -lh build/libs/*.jar
else
echo ""
echo "✗ build failed"
exit 1
fi