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

38 lines
628 B
Plaintext
Raw Normal View History

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 {
}
dependencies {
}
phytotelma {
loader(project.libs.versions.frogloader)
minecraft(project.libs.versions.minecraft)
}
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)
}
}