Fix shadow publishing (#3340)
This commit is contained in:
parent
2f528e4166
commit
7181c49da4
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue