2022-10-07 19:25:25 +02:00
|
|
|
import io.gitlab.jfronny.scripts.*
|
|
|
|
|
|
|
|
plugins {
|
2023-01-21 12:32:49 +01:00
|
|
|
id("jfmod") version "1.3-SNAPSHOT"
|
2022-10-07 19:25:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
val nonModSubprojects: List<String> by extra
|
|
|
|
val devOnlyModules: List<String> by extra
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
if (name in nonModSubprojects) return@allprojects
|
|
|
|
|
|
|
|
dependencies {
|
2023-02-23 20:36:00 +01:00
|
|
|
modLocalRuntime("com.terraformersmc:modmenu:${prop("modmenu_version")}") {
|
|
|
|
exclude("net.fabricmc") // required to work around duplicate fabric loaders
|
|
|
|
}
|
2022-10-07 19:25:25 +02:00
|
|
|
modLocalRuntime(fabricApi.module("fabric-command-api-v2", prop("fabric_version")))
|
|
|
|
compileOnly("io.gitlab.jfronny:commons:${prop("commons_version")}")
|
|
|
|
compileOnly("io.gitlab.jfronny:commons-gson:${prop("commons_version")}")
|
|
|
|
}
|
|
|
|
}
|