frogmc.dev/public/resources/template/build.gradle.kts

36 lines
587 B
Plaintext

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)
froglib(project.libs.versions.froglib)
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)
}
}