2024-06-05 16:42:57 -04:00
|
|
|
import dev.frogmc.phytotelma.ext.minecraft
|
|
|
|
import dev.frogmc.phytotelma.ext.loader
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("java")
|
|
|
|
id("dev.frogmc.phytotelma").version("$phytotelma_version")
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "$maven_group"
|
|
|
|
version = "1.0.0"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-06-08 11:27:05 -04:00
|
|
|
minecraft(libs.versions.minecraft).loader(libs.versions.loader)
|
2024-06-05 16:42:57 -04:00
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.processResources {
|
|
|
|
inputs.property("version", version)
|
|
|
|
|
|
|
|
filesMatching("frog.mod.toml") {
|
|
|
|
expand("version" to version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|