Class ProjectsEvaluatedBuildListener
java.lang.Object
org.jfrog.gradle.plugin.artifactory.listener.ProjectsEvaluatedBuildListener
Build event listener to prepare data for publish Task after the projects are evaluated
Main actions:
1) Prepare (evaluate) task dependencies with other task
2) Grabbing user and system properties
3) Apply default action to projects
4) Adding default attributes that are used in CI mode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEvaluate(org.gradle.api.Project project) This method is invoked after evaluation of every project.voidprojectsEvaluated(org.gradle.api.invocation.Gradle gradle) This method is invoked after all projects are evaluated.
-
Constructor Details
-
ProjectsEvaluatedBuildListener
public ProjectsEvaluatedBuildListener()
-
-
Method Details
-
afterEvaluate
public void afterEvaluate(org.gradle.api.Project project) This method is invoked after evaluation of every project. If the configure-on-demand mode is active, Evaluates the ArtifactoryTask tasks- Parameters:
project- The project which was evaluated. Never null.
-
projectsEvaluated
public void projectsEvaluated(org.gradle.api.invocation.Gradle gradle) This method is invoked after all projects are evaluated. Evaluate all the ArtifactoryTask tasks that are not yet evaluated (if configure-on-demand on the project is not requested).- Parameters:
gradle- The build which has been evaluated. Never null.
-