forgot to do small contribs lmao
This commit is contained in:
19
build.sh
Executable file
19
build.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user