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"
|
|
|
|
|
|
|
|
val modmenuVersion = "8.0.0-beta.2"
|
|
|
|
jfMod {
|
|
|
|
minecraftVersion = "1.20.2"
|
|
|
|
yarn("build.1")
|
|
|
|
loaderVersion = "0.14.22"
|
|
|
|
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
|
|
|
}
|