LibJF/libjf-web-v0/build.gradle.kts
JFronny 460d75ba49
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/jfmod Pipeline was successful
chore(build): Use jfMod DSL instead of properties
2023-07-09 16:50:53 +02:00

23 lines
518 B
Plaintext

import io.gitlab.jfronny.scripts.*
plugins {
id("jfmod.module")
}
base {
archivesName.set("libjf-web-v0")
}
dependencies {
val fabricVersion: String by rootProject.extra
api(devProject(":libjf-base"))
api(devProject(":libjf-config-core-v1"))
include(modImplementation(fabricApi.module("fabric-command-api-v2", fabricVersion))!!)
annotationProcessor(project(":libjf-config-compiler-plugin-v2"))
}
tasks.compileJava {
options.compilerArgs.add("-AmodId=" + base.archivesName.get())
}