LibJF/build.gradle.kts

22 lines
701 B
Plaintext
Raw Normal View History

import io.gitlab.jfronny.scripts.*
plugins {
2023-01-21 12:32:49 +01:00
id("jfmod") version "1.3-SNAPSHOT"
}
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
}
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")}")
}
}