2022-10-07 19:25:25 +02:00
|
|
|
import io.gitlab.jfronny.scripts.*
|
|
|
|
|
|
|
|
plugins {
|
2022-10-13 20:39:00 +02:00
|
|
|
id("jfmod") version "1.1-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 {
|
|
|
|
modLocalRuntime("com.terraformersmc:modmenu:${prop("modmenu_version")}")
|
|
|
|
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")}")
|
|
|
|
}
|
|
|
|
}
|