diff --git a/build.gradle.kts b/build.gradle.kts index 37df7a9..d28e303 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,8 +21,8 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(javaVersion) plugins { id("java") - id("net.neoforged.gradle.userdev") version "7.0.142" - id("com.modrinth.minotaur") version "2.+" + id("net.neoforged.gradle.userdev") version "7.0.153" + id("com.modrinth.minotaur") version "2.8.7" id("idea") } @@ -36,11 +36,17 @@ dependencies { } java { - withSourcesJar() sourceCompatibility = JavaVersion.valueOf("VERSION_${javaVersion}") targetCompatibility = JavaVersion.valueOf("VERSION_${javaVersion}") } +subsystems { + parchment { + minecraftVersion = property("minecraft_version").toString() + mappingsVersion = "2024.07.07" + } +} + modrinth { token = System.getenv("MODRINTH_TOKEN") ?: properties["modrinth_token"]?.toString() projectId = modId diff --git a/gradle.properties b/gradle.properties index ea481c7..b431c73 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,8 +7,8 @@ org.gradle.debug=false java_version=21 minecraft_version=1.21 minecraft_version_range=[1.21,1.22) -neoforge_version=21.0.0-beta -neoforge_version_range=[21.0.0-beta,22) +neoforge_version=21.0.76-beta +neoforge_version_range=[21.0,) fml_version_range=[2,) ## Mod Properties