Bump some versions, fix forge run configs.

This commit is contained in:
wizjany 2021-12-02 13:21:57 -05:00
parent f53282715e
commit a8656c5f24
4 changed files with 14 additions and 5 deletions

View File

@ -55,5 +55,5 @@
implementation("net.fabricmc:fabric-loom:$loomVersion")
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
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")
}

View File

@ -1,6 +1,6 @@
{
"pack": {
"description": "WorldEdit Resources",
"pack_format": 4
"pack_format": 8
}
}

View File

@ -15,10 +15,14 @@
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
"$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 {
"api"(project(":worldedit-core"))
"apiClasspath"(project(":worldedit-core"))
"implementation"(platform("org.apache.logging.log4j:log4j-bom:2.14.1") {
because("Mojang provides Log4J at 2.14.1")
})
@ -45,6 +49,11 @@
}
create("client", runConfig)
create("server", runConfig)
all {
lazyToken("minecraft_classpath") {
apiClasspath.copyRecursive().resolve().joinToString(File.pathSeparator) { it.absolutePath }
}
}
}
}

View File

@ -1,6 +1,6 @@
{
"pack": {
"description": "WorldEdit Resources",
"pack_format": 4
"pack_format": 8
}
}