aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 83b47476d6fef8ebcc32867187cbbf0e44acbc05 (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
plugins {
    id("net.fabricmc.fabric-loom-remap") version "1.15-SNAPSHOT"
}

group = "net.girlonthe"
version = "0.1.0"

dependencies {
    val minecraftVersion = "1.21.11"
    minecraft("com.mojang:minecraft:$minecraftVersion")
    mappings(loom.officialMojangMappings())
    modImplementation("net.fabricmc:fabric-loader:0.18.4")
    modImplementation("net.fabricmc.fabric-api:fabric-api:0.141.3+$minecraftVersion")
}

tasks {
    processResources {
        inputs.property("version", project.version)
        filesMatching("fabric.mod.json") {
            expand(mapOf("version" to project.version))
        }
    }
}