fix: update dependencies and rebranding

This commit is contained in:
foss-mc
2025-02-18 18:17:57 +11:00
parent 68193885f5
commit 6988bec0ee
32 changed files with 577 additions and 1 deletions

26
scripts/init.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Initialize Paper upstream for Akarin
(
set -e
PS1="$"
paperCommit=$(grep -oP 'paperCommit = \K[a-f0-9]+' gradle.properties)
if [ ! -d ".gradle/caches/paperweight/upstreams/paper" ]; then
mkdir -p .gradle/caches/paperweight/upstreams/paper
fi
cd .gradle/caches/paperweight/upstreams/paper
if [ ! -d ".git" ]; then
git init
git remote add origin https://github.com/PaperMC/Paper.git
fi
git fetch origin $paperCommit
git checkout -f $paperCommit
echo "Paper upstream initialized at commit $paperCommit"
) || exit 1