LibJF/build.gradle.kts
JFronny e4da2eadd8
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/jfmod Pipeline was successful
ci: fix group for modules
2023-07-16 15:07:49 +02:00

48 lines
1.1 KiB
Plaintext

plugins {
id("jfmod")
}
allprojects {
group = "io.gitlab.jfronny.libjf"
}
val fabricVersion by extra("0.83.0+1.20")
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 {
minecraftVersion = "1.20"
yarn("build.1")
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") {
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")
}
}