Skip to content

Commit

Permalink
Test added
Browse files Browse the repository at this point in the history
  • Loading branch information
fishinitself committed Jul 1, 2024
1 parent 2ffbb32 commit e0a0eae
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ReleaseManagementGradlePlugin implements Plugin<Project> {
}
}
} else {
LOGGER.debug("Attempt to configure project {} more than once.", subProject);
LOGGER.debug("Attempt to configure project {} more than once.", subProject.name);
}
}

Expand Down Expand Up @@ -223,8 +223,12 @@ class ReleaseManagementGradlePlugin implements Plugin<Project> {
project.rootProject.afterEvaluate { configureProjectPublish(project.rootProject) }

project.rootProject.subprojects { Project subProject ->
subProject.pluginManager.apply('com.jfrog.artifactory')
subProject.afterEvaluate { configureProjectPublish(subProject) }
if (!subProject.state.executed) {
subProject.pluginManager.apply('com.jfrog.artifactory')
subProject.afterEvaluate { configureProjectPublish(subProject) }
} else {
LOGGER.debug("Attempt to configure project {} more than once.", subProject.name);
}
}
}

Expand Down

0 comments on commit e0a0eae

Please sign in to comment.