From 993951aea2abc8f33dd59b693075198735fff0e5 Mon Sep 17 00:00:00 2001 From: FoundationGames <43485105+FoundationGames@users.noreply.github.com> Date: Thu, 13 Jun 2024 23:53:26 -0700 Subject: [PATCH] 1.20.6, Java 21 --- .github/workflows/build.yml | 4 ++-- build.gradle | 6 +++--- gradle.properties | 8 ++++---- src/main/resources/fabric.mod.json | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 967a6f4..e3d7d93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ jobs: build: strategy: matrix: - java: [17] + java: [21] os: [ubuntu-20.04, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -23,7 +23,7 @@ jobs: - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} uses: actions/upload-artifact@v2 with: name: Artifacts diff --git a/build.gradle b/build.gradle index 1f85c52..512bf51 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,8 @@ plugins { id 'fabric-loom' version '1.6-SNAPSHOT' } -sourceCompatibility = JavaVersion.VERSION_17 -targetCompatibility = JavaVersion.VERSION_17 +sourceCompatibility = JavaVersion.VERSION_21 +targetCompatibility = JavaVersion.VERSION_21 archivesBaseName = project.archives_base_name version = project.mod_version @@ -30,7 +30,7 @@ processResources { tasks.withType(JavaCompile).configureEach { it.options.encoding = "UTF-8" - it.options.release = 17 + it.options.release = 21 } java { diff --git a/gradle.properties b/gradle.properties index 949e119..9340f74 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,13 +1,13 @@ org.gradle.jvmargs=-Xmx1G -minecraft_version=1.20.4 -yarn_mappings=1.20.4+build.3 +minecraft_version=1.20.6 +yarn_mappings=1.20.6+build.3 loader_version=0.15.11 # Fabric API -fabric_version=0.97.1+1.20.4 +fabric_version=0.100.0+1.20.6 -mod_version = 0.6.1+1.20.4 +mod_version = 0.6.1+1.20.6 maven_group = io.github.foundationgames archives_base_name = animatica diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fd2c9a0..5f2b4c5 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -28,7 +28,7 @@ "depends": { "fabricloader": ">=0.11.3", "fabric": "*", - "minecraft": ["1.20.x"], - "java": ">=16" + "minecraft": ">=1.20.5", + "java": ">=21" } }