diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4434243..15767bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,8 @@ jobs: uses: gradle/actions/setup-gradle@v4 - name: Configure Git User Details run: git config --global user.email "actions@github.com" && git config --global user.name "Github Actions" + - name: build paperweight + run: ./build_paperweight.sh - name: Apply Patches run: ./gradlew applyAllPatches --stacktrace - name: Build diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5fd5230 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "paperweight"] + path = paperweight + url = https://github.com/PaperMC/paperweight.git diff --git a/build_paperweight.sh b/build_paperweight.sh new file mode 100755 index 0000000..7a77305 --- /dev/null +++ b/build_paperweight.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -eou pipefail +git submodule update --init --recursive +cd paperweight +./gradlew pTML diff --git a/paperweight b/paperweight new file mode 160000 index 0000000..2dfd1f1 --- /dev/null +++ b/paperweight @@ -0,0 +1 @@ +Subproject commit 2dfd1f14007826bf04a19b972294f18ddb692a34