Fix shadow publishing (#3340)

This commit is contained in:
Trask Stalnaker 2021-06-16 18:50:23 -07:00 committed by GitHub
parent 2f528e4166
commit 7181c49da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ plugins {
publishing {
publications {
register<MavenPublication>("maven") {
if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != "true") {
if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != true) {
the<ShadowExtension>().component(this)
} else {
plugins.withId("java-platform") {