Skip to content

Commit

Permalink
Fix sonatype plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 27, 2025
1 parent 1fefcf4 commit daa72ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class SonatypePlugin : Plugin<Project> {
}

allprojects {
components.matching { it.name == "java" }.configureEach {
project.plugins.matching { it is JavaPlugin }.all {
if (extensions.findByType<PublishingExtension>() == null) {
log.info("Found java component in $project. Adding publishing tasks.")
addPublishTasks(project)
Expand Down

0 comments on commit daa72ce

Please sign in to comment.