chore: update to 1.21
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Johannes Frohnmeyer 2024-06-14 14:21:37 +02:00
parent de00f51b06
commit fa5aa9edf9
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -16,11 +16,11 @@ base.archivesName = "breakme"
// https://fabricmc.net/develop/ // https://fabricmc.net/develop/
jfMod { jfMod {
minecraftVersion = "1.20.5" minecraftVersion = "1.21"
yarn("build.1") yarn("build.1")
loaderVersion = "0.15.10" loaderVersion = "0.15.11"
libJfVersion = "3.15.5" libJfVersion = "3.16.0"
fabricApiVersion = "0.97.6+1.20.5" fabricApiVersion = "0.100.1+1.21"
modrinth { modrinth {
projectId = "breakme" projectId = "breakme"
@ -43,7 +43,7 @@ dependencies {
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil") modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny") modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny")
modLocalRuntime("net.fabricmc.fabric-api:fabric-api") modLocalRuntime("net.fabricmc.fabric-api:fabric-api")
modLocalRuntime("com.terraformersmc:modmenu:10.0.0-beta.1") modLocalRuntime("com.terraformersmc:modmenu:11.0.0-beta.1")
} }
loom { loom {
@ -52,7 +52,7 @@ loom {
} }
} }
fun list(`package`: String) = Files.list(projectDir.resolve("src/main/java").resolve(`package`.replace('.', '/')).toPath()).use { stream -> fun list(`package`: String): List<ClassName> = Files.list(projectDir.resolve("src/main/java").resolve(`package`.replace('.', '/')).toPath()).use { stream ->
stream stream
.map { it.fileName.toString() } .map { it.fileName.toString() }
.map { it.substring(0, it.lastIndexOf('.')) } .map { it.substring(0, it.lastIndexOf('.')) }