diff --git a/build.gradle.kts b/build.gradle.kts index ede4585..3163944 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,8 +32,10 @@ subprojects { apply(plugin = "java") tasks.matching { - it.name == "publishPluginMavenPublicationToNexusRepository" - }.all { dependsOn(tasks.withType()) } + it is AbstractPublishToMaven + }.all { + dependsOn(tasks.withType()) + } configure { toolchain {