2022-11-25 17:14:38 +01:00
|
|
|
plugins {
|
2023-09-22 20:44:08 +02:00
|
|
|
id("jfmod") version "1.5-SNAPSHOT"
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects { group = "io.gitlab.jfronny" }
|
|
|
|
base.archivesName = "translater"
|
|
|
|
|
2023-11-19 15:10:52 +01:00
|
|
|
val modmenuVersion = "8.0.0"
|
2023-09-22 20:44:08 +02:00
|
|
|
jfMod {
|
|
|
|
minecraftVersion = "1.20.2"
|
2023-11-19 15:10:52 +01:00
|
|
|
yarn("build.4")
|
|
|
|
loaderVersion = "0.14.24"
|
2023-09-22 20:44:08 +02:00
|
|
|
libJfVersion = "3.13.1"
|
|
|
|
|
|
|
|
modrinth {
|
|
|
|
projectId = "translater"
|
|
|
|
requiredDependencies.add("libjf")
|
|
|
|
optionalDependencies.add("modmenu")
|
|
|
|
}
|
|
|
|
curseforge {
|
|
|
|
projectId = "394823"
|
|
|
|
requiredDependencies.add("libjf")
|
|
|
|
optionalDependencies.add("modmenu")
|
|
|
|
}
|
2022-11-25 17:14:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-09-22 20:44:08 +02:00
|
|
|
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v2:${jfMod.libJfVersion.get()}")
|
|
|
|
modImplementation("io.gitlab.jfronny.libjf:libjf-translate-v1:${jfMod.libJfVersion.get()}")
|
2022-11-25 17:14:38 +01:00
|
|
|
|
|
|
|
// Dev env
|
2023-09-22 20:44:08 +02:00
|
|
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny:${jfMod.libJfVersion.get()}")
|
|
|
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${jfMod.libJfVersion.get()}")
|
|
|
|
modLocalRuntime("com.terraformersmc:modmenu:$modmenuVersion")
|
2022-11-25 17:14:38 +01:00
|
|
|
}
|