build: update dependencies

This commit is contained in:
Puqns67 2024-07-09 00:17:44 +08:00
parent b42b4b89ac
commit f3500f73f6
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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