diff options
| author | inyourwalls <inyourwalls@tutanota.com> | 2024-01-25 02:30:39 -0500 |
|---|---|---|
| committer | inyourwalls <inyourwalls@tutanota.com> | 2024-01-25 02:30:39 -0500 |
| commit | 4f6a91932b61c4e5a9ef3216c4989ca9b6294439 (patch) | |
| tree | 2996d5e4265ad08f6dfbdd29ffb9969782f8e118 /build.gradle.kts | |
init
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..34112f6 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,26 @@ +plugins { + java + id("fabric-loom") version "1.5-SNAPSHOT" +} + +version = "0.1.0" +group = "net.inyourwalls" + +dependencies { + val minecraftVersion = "1.20.4" + val yarnBuild = "3" + val fabricLoaderVersion = "0.15.0" + + minecraft("com.mojang:minecraft:$minecraftVersion") + mappings("net.fabricmc:yarn:$minecraftVersion+build.$yarnBuild:v2") + modImplementation("net.fabricmc:fabric-loader:$fabricLoaderVersion") +} + +tasks.processResources { + inputs.property("version", project.version) + filesMatching("fabric.mod.json") { + expand(mapOf( + "version" to project.version + )) + } +} |
