diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 453b167..54fe689 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -12,7 +12,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Build Gradle uses: eskatos/gradle-command-action@v1 with: diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index 90dab4e..a5c886c 100644 --- a/.github/workflows/gradle-check.yml +++ b/.github/workflows/gradle-check.yml @@ -12,7 +12,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Build Gradle uses: eskatos/gradle-command-action@v1 with: diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 9a4a60a..eb31683 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -14,7 +14,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Publish Maven Jar env: ACCESS_KEY: ${{ secrets.ACCESS_KEY }} diff --git a/build.gradle b/build.gradle index 41e11e3..0603593 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { } } plugins { - id 'fabric-loom' version '1.3-SNAPSHOT' + id 'fabric-loom' version '1.6-SNAPSHOT' id 'maven-publish' id 'com.modrinth.minotaur' version '2.+' id 'org.ajoberstar.reckon' version '0.13.0' @@ -13,7 +13,7 @@ apply plugin: 'dex.plugins.outlet' java { toolchain { - languageVersion = JavaLanguageVersion.of(17) + languageVersion = JavaLanguageVersion.of(21) } withSourcesJar() } diff --git a/gradle.properties b/gradle.properties index 63821b3..cd5b848 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,10 +3,10 @@ org.gradle.daemon=false # Fabric Properties # check these on https://fabricmc.net/develop - minecraft_version=1.20.2 - yarn_mappings=1.20.2+build.4 - loader_version=0.15.1 - fabric_version=0.91.1+1.20.2 + minecraft_version=1.20.5 + yarn_mappings=1.20.5+build.1 + loader_version=0.15.7 + fabric_version=0.97.5+1.20.5 # Mod Properties group=com.minelittlepony @@ -15,9 +15,9 @@ org.gradle.daemon=false description=Json-based entity models. Mson. # Publishing - minecraft_version_range=>=1.20.2 + minecraft_version_range=>=1.20.5 modrinth_loader_type=fabric modrinth_project_id= # Dependencies - modmenu_version=8.0.0 + modmenu_version=10.0.0-beta.1 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 59bc51a..17655d0 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index bfde850..dc4783b 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -27,7 +27,7 @@ "depends": { "minecraft": "${minecraftVersion}", "fabricloader": "${loaderVersion}", - "java": ">=17", + "java": ">=21", "fabric-api": "${fabricVersion}" }, "custom": { diff --git a/src/main/resources/mson.mixin.json b/src/main/resources/mson.mixin.json index daa8cc1..3a67f62 100644 --- a/src/main/resources/mson.mixin.json +++ b/src/main/resources/mson.mixin.json @@ -3,7 +3,7 @@ "minVersion": "0.7", "package": "com.minelittlepony.mson.impl.mixin", "refmap": "mson.mixin.refmap.json", - "compatibilityLevel": "JAVA_16", + "compatibilityLevel": "JAVA_17", "client": [ "MixinBlockEntityRenderDispatcher", "MixinDilation",