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

41 lines
619 B
Plaintext

plugins {
alias(libs.plugins.phytotelma)
}
group = "$maven_group"
version = "1.0.0"
repositories {
}
dependencies {
}
phytotelma {
minecraft {
version = project.libs.versions.minecraft
}
loader {
version = project.libs.versions.frogloader
}
froglib {
version = project.libs.versions.froglib
}
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
tasks.processResources {
inputs.property("version", version)
filesMatching("frog.mod.toml") {
expand("version" to version)
}
}