Build a Mojang mapped jar in addition to the reobf one, publish both to Modrinth with correct metadata (#2981)
This commit is contained in:
@ -20,4 +20,8 @@ fun Project.applyPaperweightAdapterConfiguration() {
|
||||
tasks.named("assemble") {
|
||||
dependsOn("reobfJar")
|
||||
}
|
||||
|
||||
tasks.named("javadoc") {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import org.gradle.kotlin.dsl.named
|
||||
import org.gradle.kotlin.dsl.provideDelegate
|
||||
import org.gradle.kotlin.dsl.register
|
||||
import org.gradle.kotlin.dsl.the
|
||||
import org.gradle.kotlin.dsl.withType
|
||||
import org.gradle.plugins.signing.SigningExtension
|
||||
|
||||
fun Project.applyPlatformAndCoreConfiguration() {
|
||||
@ -132,7 +133,7 @@ fun Project.applyPlatformAndCoreConfiguration() {
|
||||
}
|
||||
|
||||
fun Project.applyShadowConfiguration() {
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
tasks.withType<ShadowJar>().configureEach {
|
||||
dependencies {
|
||||
include(project(":worldedit-libs:core"))
|
||||
include(project(":worldedit-libs:${project.name.replace("worldedit-", "")}"))
|
||||
|
||||
Reference in New Issue
Block a user