2022-10-07 19:25:25 +02:00
|
|
|
import io.gitlab.jfronny.scripts.*
|
|
|
|
|
2023-07-09 16:50:53 +02:00
|
|
|
plugins {
|
|
|
|
id("jfmod.module")
|
|
|
|
}
|
|
|
|
|
2022-10-07 19:25:25 +02:00
|
|
|
base {
|
|
|
|
archivesName.set("libjf-web-v0")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-09 16:50:53 +02:00
|
|
|
val fabricVersion: String by rootProject.extra
|
2022-10-07 19:25:25 +02:00
|
|
|
api(devProject(":libjf-base"))
|
|
|
|
api(devProject(":libjf-config-core-v1"))
|
2023-07-09 16:50:53 +02:00
|
|
|
include(modImplementation(fabricApi.module("fabric-command-api-v2", fabricVersion))!!)
|
2022-12-29 13:18:59 +01:00
|
|
|
|
|
|
|
annotationProcessor(project(":libjf-config-compiler-plugin-v2"))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.compileJava {
|
|
|
|
options.compilerArgs.add("-AmodId=" + base.archivesName.get())
|
2022-10-07 19:25:25 +02:00
|
|
|
}
|