mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-24 12:44:56 +08:00
Bump some versions, fix forge run configs.
This commit is contained in:
parent
f53282715e
commit
a8656c5f24
@ -55,5 +55,5 @@
|
|||||||
implementation("net.fabricmc:fabric-loom:$loomVersion")
|
implementation("net.fabricmc:fabric-loom:$loomVersion")
|
||||||
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
|
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
|
||||||
implementation("org.enginehub.gradle:gradle-codecov-plugin:0.1.0")
|
implementation("org.enginehub.gradle:gradle-codecov-plugin:0.1.0")
|
||||||
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.3.0-SNAPSHOT")
|
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.3.0")
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "WorldEdit Resources",
|
"description": "WorldEdit Resources",
|
||||||
"pack_format": 4
|
"pack_format": 8
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -15,10 +15,14 @@
|
|||||||
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
|
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
|
||||||
"$useless.${major.toInt() + 1}"
|
"$useless.${major.toInt() + 1}"
|
||||||
}
|
}
|
||||||
val forgeVersion = "38.0.2"
|
val forgeVersion = "38.0.10"
|
||||||
|
|
||||||
|
val apiClasspath = configurations.create("apiClasspath")
|
||||||
|
apiClasspath.isCanBeResolved = true
|
||||||
|
configurations.api.get().extendsFrom(apiClasspath)
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"api"(project(":worldedit-core"))
|
"apiClasspath"(project(":worldedit-core"))
|
||||||
"implementation"(platform("org.apache.logging.log4j:log4j-bom:2.14.1") {
|
"implementation"(platform("org.apache.logging.log4j:log4j-bom:2.14.1") {
|
||||||
because("Mojang provides Log4J at 2.14.1")
|
because("Mojang provides Log4J at 2.14.1")
|
||||||
})
|
})
|
||||||
@ -45,6 +49,11 @@
|
|||||||
}
|
}
|
||||||
create("client", runConfig)
|
create("client", runConfig)
|
||||||
create("server", runConfig)
|
create("server", runConfig)
|
||||||
|
all {
|
||||||
|
lazyToken("minecraft_classpath") {
|
||||||
|
apiClasspath.copyRecursive().resolve().joinToString(File.pathSeparator) { it.absolutePath }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "WorldEdit Resources",
|
"description": "WorldEdit Resources",
|
||||||
"pack_format": 4
|
"pack_format": 8
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user