diff --git a/build.gradle b/build.gradle index 0a51b5a..d5967fa 100644 --- a/build.gradle +++ b/build.gradle @@ -72,8 +72,8 @@ shadowJar { publishing { publications { - shadow(MavenPublication) { - from components.shadow + shadow(MavenPublication) { publication -> + project.shadow.component(publication) } } repositories {