LibJF/build.gradle.kts

48 lines
1.1 KiB
Plaintext
Raw Normal View History

plugins {
id("jfmod")
}
2023-07-16 15:07:49 +02:00
allprojects {
group = "io.gitlab.jfronny.libjf"
}
2023-07-18 20:36:01 +02:00
val fabricVersion by extra("0.86.0+1.20.1")
val commonsVersion by extra("1.3-SNAPSHOT")
val gsonCompileVersion by extra("1.3-SNAPSHOT")
val modmenuVersion by extra("7.0.1")
val annotationsVersion by extra("24.0.1")
val javapoetVersion by extra("1.13.0")
jfMod {
2023-07-18 20:36:01 +02:00
minecraftVersion = "1.20.1"
yarn("build.9")
loaderVersion = "0.14.21"
modrinth {
projectId = "libjf"
optionalDependencies.add("fabric-api")
}
curseforge {
projectId = "482600"
optionalDependencies.add("fabric-api")
}
}
allprojects {
if (!rootProject.jfMod.isMod(this)) return@allprojects
base {
archivesName = "libjf"
}
dependencies {
modLocalRuntime("com.terraformersmc:modmenu:$modmenuVersion") {
2023-02-23 20:36:00 +01:00
exclude("net.fabricmc") // required to work around duplicate fabric loaders
}
modLocalRuntime(fabricApi.module("fabric-command-api-v2", fabricVersion))
compileOnly("io.gitlab.jfronny:commons:$commonsVersion")
compileOnly("io.gitlab.jfronny:commons-gson:$commonsVersion")
}
}