From bfa3196483126af05ae015190de42fb1775949c8 Mon Sep 17 00:00:00 2001 From: Gugle Date: Fri, 21 Jun 2024 20:06:34 +0800 Subject: [PATCH] update --- .github/workflows/ci.yml | 6 +++--- build.gradle | 2 +- gradle.properties | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f249fc9..bcba91d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: build: strategy: matrix: - java: [ 17 ] + java: [ 21 ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} @@ -73,7 +73,7 @@ jobs: echo "version=$MESSAGE" - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} uses: actions/upload-artifact@v3.1.1 with: name: ${{ steps.get-name.outputs.name }} @@ -87,7 +87,7 @@ jobs: version: ${{ steps.version.outputs.version }} game-versions: 1.20.1 version-type: release - java: 17 + java: 21 loaders: | fabric quilt diff --git a/build.gradle b/build.gradle index 953b6de..79689da 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ processResources { } } -def targetJavaVersion = 17 +def targetJavaVersion = 21 tasks.withType(JavaCompile).configureEach { // ensure that the encoding is set to UTF-8, no matter what the system default is // this fixes some edge cases with special characters not displaying correctly diff --git a/gradle.properties b/gradle.properties index c74e11c..472024d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx2G # Fabric Properties # check these on https://modmuss50.me/fabric.html minecraft_version=1.21