From 4d0d5d1cef6ad227333a538d8ddf61f2e6ed2dfc Mon Sep 17 00:00:00 2001 From: 404Setup <153366651+404Setup@users.noreply.github.com> Date: Sat, 30 Nov 2024 22:08:00 +0800 Subject: [PATCH 1/2] Upstream to 1.21.3 --- .../{build_1.21.1.yml => build_1.21.3.yml} | 17 +- .gitignore | 10 +- README.md | 2 +- README_EN.md | 2 +- build.gradle.kts | 4 +- gradle.properties | 6 +- gradle/wrapper/gradle-wrapper.properties | 2 +- ...nd-set-serverName-to-LightingLuminol.patch | 39 +-- patches/server/0003-Base-Dirty-Patches.patch | 276 ++++++++---------- 9 files changed, 161 insertions(+), 197 deletions(-) rename .github/workflows/{build_1.21.1.yml => build_1.21.3.yml} (83%) diff --git a/.github/workflows/build_1.21.1.yml b/.github/workflows/build_1.21.3.yml similarity index 83% rename from .github/workflows/build_1.21.1.yml rename to .github/workflows/build_1.21.3.yml index a904903..0b5125d 100644 --- a/.github/workflows/build_1.21.1.yml +++ b/.github/workflows/build_1.21.3.yml @@ -1,10 +1,10 @@ -name: LightingLuminol CI - dev/1.20.6 +name: LightingLuminol CI - dev/1.21.3 on: push: - branches: [ "dev/1.21.1" ] + branches: [ "dev/1.21.3" ] pull_request: - branches: [ "dev/1.21.1" ] + branches: [ "dev/1.21.3" ] permissions: write-all @@ -20,7 +20,7 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 with: - gradle-version: 8.7 + gradle-version: 8.10.2 - name: Set up JDK uses: actions/setup-java@v4 with: @@ -61,11 +61,4 @@ jobs: generateReleaseNotes: true prerelease: ${{ env.pre }} makeLatest: ${{ env.make_latest }} - token: "${{ secrets.GITHUB_TOKEN }}" - - name: Push to API - if: "!contains(github.event.commits[0].message, '[release skip]')" - env: - secret_v2: ${{ secrets.API_KEY }} - tag: ${{ env.tag }} - project_id: ${{ env.project_id }} - run: sh scripts/PushToAPI.sh \ No newline at end of file + token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1755aef..de2d4f4 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,7 @@ nbactions.xml # Gradle !gradle-wrapper.jar -.gradle/ +.gradle build/ */build/ @@ -33,7 +33,6 @@ target/ dependency-reduced-pom.xml # various other potential build files -build/ bin/ dist/ manifest.mf @@ -52,7 +51,10 @@ manifest.mf run/ build-data/ -Hearse-API -Hearse-Server +LightingLuminol-API +LightingLuminol-API/* +LightingLuminol-Server +LightingLuminol-Server/* +paper-api-generator *.jar /patches/todo/ \ No newline at end of file diff --git a/README.md b/README.md index 5f2fd1f..391a6a2 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## 构建 要构建一个paperclip jar,你需要运行以下命令。你可以在build/libs中找到jar(注意:需要`JDK17`) ```shell - ./gradlew applyPatches && ./gradlew createReobfPaperclipJar + ./gradlew applyPatches && ./gradlew createMojmapPaperclipJar ```