31 lines
562 B
Plaintext
31 lines
562 B
Plaintext
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 {
|
|
|
|
}
|
|
|
|
minecraft(libs.versions.minecraft).loader(libs.versions.loader)
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
tasks.processResources {
|
|
inputs.property("version", version)
|
|
|
|
filesMatching("frog.mod.toml") {
|
|
expand("version" to version)
|
|
}
|
|
}
|
|
|