diff --git a/build-plugins/src/main/kotlin/module.publication.gradle.kts b/build-plugins/src/main/kotlin/module.publication.gradle.kts index 63d43f1..abab488 100644 --- a/build-plugins/src/main/kotlin/module.publication.gradle.kts +++ b/build-plugins/src/main/kotlin/module.publication.gradle.kts @@ -106,10 +106,9 @@ private fun description(value: String) { } } } - applyDefaultTaskDependencies() } -private fun applyDefaultTaskDependencies() { +project.afterEvaluate { // https://youtrack.jetbrains.com/issue/KT-61313 tasks.withType().configureEach { val publicationName = name.removePrefix("sign").removeSuffix("Publication")