2023-07-09 16:50:53 +02:00
|
|
|
plugins {
|
|
|
|
id("jfmod.module")
|
|
|
|
}
|
|
|
|
|
2022-10-07 19:25:25 +02:00
|
|
|
base {
|
|
|
|
archivesName.set("libjf-base")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-09 16:50:53 +02:00
|
|
|
val fabricVersion: String by rootProject.extra
|
|
|
|
val commonsVersion: String by rootProject.extra
|
2023-09-22 18:41:55 +02:00
|
|
|
val baseCommonsModules: List<String> by rootProject.extra
|
2023-07-09 16:50:53 +02:00
|
|
|
include(modImplementation(fabricApi.module("fabric-lifecycle-events-v1", fabricVersion))!!)
|
|
|
|
shadow("io.gitlab.jfronny:commons:$commonsVersion")
|
2023-09-22 18:41:55 +02:00
|
|
|
baseCommonsModules.forEach { shadow("io.gitlab.jfronny:commons-$it:$commonsVersion") {
|
|
|
|
if (it == "logging-slf4j") isTransitive = false
|
|
|
|
} }
|
2022-10-07 19:25:25 +02:00
|
|
|
}
|