From 39c3ca03e87e17c98bd3a5a8a20735bdb3616e56 Mon Sep 17 00:00:00 2001 From: Christian Mesh Date: Sat, 16 Sep 2023 13:47:44 -0400 Subject: [PATCH] Bump to 1.18.2 --- build.gradle | 8 ++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/META-INF/mods.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 04a390e..d59aaa7 100644 --- a/build.gradle +++ b/build.gradle @@ -18,13 +18,13 @@ apply plugin: 'eclipse' //apply plugin: 'maven' apply plugin: 'maven-publish' -java.toolchain.languageVersion = JavaLanguageVersion.of(16) // Mojang ships Java 8 to end users, so your mod should target Java 8. +java.toolchain.languageVersion = JavaLanguageVersion.of(17) // Mojang ships Java 8 to end users, so your mod should target Java 8. String baseVersion = "1.2" if (!"release".equalsIgnoreCase(System.getProperty("target"))) { baseVersion += "-" + Util.GitRevision() } -version = "1.17.1-forge-" + baseVersion +version = "1.18.2-forge-" + baseVersion group = "trackapi" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "TrackAPI" @@ -34,7 +34,7 @@ minecraft { // stable_# Stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // Simply re-run your setup task after changing the mappings to update your workspace. - mappings channel: 'official', version: '1.17.1' + mappings channel: 'official', version: '1.18.2' // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') @@ -100,7 +100,7 @@ dependencies { // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. // The userdev artifact is a special name and will get all sorts of transformations applied to it. - minecraft 'net.minecraftforge:forge:1.17.1-37.1.1' + minecraft 'net.minecraftforge:forge:1.18.2-40.0.22' // You may put jars on which you depend on in ./libs or you may define them like so.. // compile "some.group:artifact:version:classifier" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8ad73a7..7645e29 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index fd0f1cc..0e7707e 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -16,6 +16,6 @@ description='''A common track interface for minecraft forge''' [[dependencies.trackapi]] modId="minecraft" mandatory=true - versionRange="[1.17.1]" + versionRange="[1.18.2]" ordering="NONE" side="BOTH"