aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 34112f6134ad5d8a43bf5c365a5efbd56e62ed05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
        ))
    }
}