LibJF/build.gradle.kts
JFronny cd5a4ccbd4
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/jfmod Pipeline was successful
chore: bump to 1.20.1
2023-07-18 20:36:01 +02:00

48 lines
1.1 KiB
Plaintext

plugins {
id("jfmod")
}
allprojects {
group = "io.gitlab.jfronny.libjf"
}
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 {
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") {
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")
}
}