brainrot-mc/build.gradle.kts

27 lines
574 B
Plaintext

plugins {
id("fabric-loom") version "1.8-SNAPSHOT"
}
group = "club.nerm"
version = "0.1.0-SNAPSHOT"
dependencies {
minecraft("com.mojang:minecraft:${properties["minecraft_version"]}")
mappings("net.fabricmc:yarn:${properties["yarn_mappings"]}:v2")
modImplementation("net.fabricmc:fabric-loader:${properties["loader_version"]}")
}
tasks {
processResources {
filesMatching("fabric.mod.json") {
expand(mapOf("version" to version))
}
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}