From acfb377cee044bacb0bb7038e2816fefd9f6c737 Mon Sep 17 00:00:00 2001 From: mlus <1319237806@qq.com> Date: Tue, 16 Apr 2024 23:50:29 +0800 Subject: [PATCH] update curios API --- .github/workflows/build-1.20.yml | 42 ++++++++++++++++++++++++++++++++ build.gradle | 5 ++-- gradle.properties | 2 +- 3 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/build-1.20.yml diff --git a/.github/workflows/build-1.20.yml b/.github/workflows/build-1.20.yml new file mode 100644 index 0000000..c22df76 --- /dev/null +++ b/.github/workflows/build-1.20.yml @@ -0,0 +1,42 @@ +name: Build-1.18 + +on: + push: + branches: [ "1.20.1" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Make Gradle Wrapper Executable + run: chmod +x ./gradlew + working-directory: ${{ github.workspace }} + + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build + id: build + uses: gradle/gradle-build-action@v2 + with: + arguments: build + env: + SNAPSHOT: true + + - name: Build Artifact + uses: actions/upload-artifact@v3 + with: + name: Player_Sync + path: | + build/libs/ diff --git a/build.gradle b/build.gradle index adb8168..975204e 100644 --- a/build.gradle +++ b/build.gradle @@ -122,10 +122,9 @@ dependencies { jarJar.ranged(it, '[1.0,)') } - runtimeOnly fg.deobf("top.theillusivec4.curios:curios-forge:5.3.2+1.20.1") - compileOnly fg.deobf("top.theillusivec4.curios:curios-forge:5.3.2+1.20.1:api") + runtimeOnly fg.deobf("top.theillusivec4.curios:curios-forge:5.7.2+1.20.1") + compileOnly fg.deobf("top.theillusivec4.curios:curios-forge:5.7.2+1.20.1:api") implementation fg.deobf("curse.maven:MySQL-561280:3685108") - implementation group: 'com.zaxxer', name: 'HikariCP', version: '3.4.5' } // Example for how to get properties into the manifest for reading at runtime. diff --git a/gradle.properties b/gradle.properties index ae1bb0c..daddfbf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,4 +3,4 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false -mod_version=1.20.1-1.3.0 \ No newline at end of file +mod_version=1.20.1-1.3.1a \ No newline at end of file