forked from me/e4mc_minecraft
chore: bump deps
This commit is contained in:
parent
b8e21f4849
commit
14130097c5
3 changed files with 10 additions and 6 deletions
|
@ -5,8 +5,8 @@ plugins {
|
||||||
preprocess {
|
preprocess {
|
||||||
val fabric11904 = createNode("1.19.4-fabric", 11903, "yarn")
|
val fabric11904 = createNode("1.19.4-fabric", 11903, "yarn")
|
||||||
val fabric11802 = createNode("1.18.2-fabric", 11802, "yarn")
|
val fabric11802 = createNode("1.18.2-fabric", 11802, "yarn")
|
||||||
val forge11904 = createNode("1.19.4-forge", 11903, "yarn")
|
val forge11904 = createNode("1.19.4-forge", 11903, "srg")
|
||||||
val forge11802 = createNode("1.18.2-forge", 11802, "yarn")
|
val forge11802 = createNode("1.18.2-forge", 11802, "srg")
|
||||||
|
|
||||||
fabric11904.link(forge11904)
|
fabric11904.link(forge11904)
|
||||||
forge11904.link(forge11802)
|
forge11904.link(forge11802)
|
||||||
|
|
|
@ -25,7 +25,7 @@ pluginManagement {
|
||||||
kotlin("jvm") version(kotlin)
|
kotlin("jvm") version(kotlin)
|
||||||
kotlin("plugin.serialization") version(kotlin)
|
kotlin("plugin.serialization") version(kotlin)
|
||||||
|
|
||||||
val epgt = "1.10.3"
|
val epgt = "1.15.1"
|
||||||
id("xyz.deftu.gradle.multiversion-root") version(epgt)
|
id("xyz.deftu.gradle.multiversion-root") version(epgt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,19 +21,22 @@ val bundle by configurations.creating {
|
||||||
} else configurations.getByName("shade").extendsFrom(this)
|
} else configurations.getByName("shade").extendsFrom(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
loomHelper {
|
toolkitLoomHelper {
|
||||||
if (mcData.isForge) {
|
if (mcData.isForge) {
|
||||||
useForgeMixin("e4mc_minecraft.mixins.json", true)
|
useForgeMixin("e4mc_minecraft.mixins.json", true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
releases {
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
toolkitReleases {
|
||||||
gameVersions.set(when (mcData.version) {
|
gameVersions.set(when (mcData.version) {
|
||||||
11904 -> listOf("1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4")
|
11904 -> listOf("1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4")
|
||||||
11802 -> listOf("1.17", "1.17.1", "1.18", "1.18.1", "1.18.2")
|
11802 -> listOf("1.17", "1.17.1", "1.18", "1.18.1", "1.18.2")
|
||||||
else -> listOf()
|
else -> listOf()
|
||||||
})
|
})
|
||||||
version.set("${modData.version}+${mcData.versionStr}-${mcData.loader.name}")
|
|
||||||
releaseName.set("[${when (mcData.version) {
|
releaseName.set("[${when (mcData.version) {
|
||||||
11904 -> "1.19-"
|
11904 -> "1.19-"
|
||||||
11802 -> "1.17-1.18.2"
|
11802 -> "1.17-1.18.2"
|
||||||
|
@ -44,6 +47,7 @@ releases {
|
||||||
}
|
}
|
||||||
modrinth {
|
modrinth {
|
||||||
projectId.set("qANg5Jrr")
|
projectId.set("qANg5Jrr")
|
||||||
|
useSourcesJar.set(true)
|
||||||
if (mcData.isFabric) {
|
if (mcData.isFabric) {
|
||||||
dependencies.set(
|
dependencies.set(
|
||||||
listOf(
|
listOf(
|
||||||
|
|
Loading…
Reference in a new issue