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