- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for BuildListener (0.3 sec)
-
subprojects/core-api/src/main/java/org/gradle/BuildListener.java
import org.gradle.internal.service.scopes.Scope; /** * <p>A {@code BuildListener} is notified of the major lifecycle events as a build is executed.</p> * * @see org.gradle.api.invocation.Gradle#addListener(Object) */ @EventScope(Scope.Build.class) @DeprecatedInGradleScope public interface BuildListener { /** * Called when the build settings are about to be loaded and evaluated. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfoSpec.groovy
} 1 * listenerManager.addListener({ it instanceof BuildListener }) >> { BuildListener listener -> buildListener = listener } when: buildListener.buildFinished(Stub(BuildResult)) then: 1 * listenerManager.removeListener(daemonExpirationListener) 1 * listenerManager.removeListener(buildListener) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy
def buildListener = new InternalBuildAdapter() def projectEvaluationListener = Mock(InternalProjectEvaluationListener) def graphListener = Mock(InternalTaskExecutionGraphListener) expect: decorator.decorate('foo', action) is action and: decorator.decorate('foo', BuildListener, buildListener) is buildListener
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 14:54:57 UTC 2024 - 16.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/build/DefaultBuildLifecycleControllerTest.groovy
import org.gradle.util.TestUtil import spock.lang.Specification import java.util.function.Consumer import java.util.function.Function class DefaultBuildLifecycleControllerTest extends Specification { def buildListener = Mock(BuildListener) def buildModelLifecycleListener = Mock(BuildModelLifecycleListener) def workExecutor = Mock(BuildWorkExecutor) def workPreparer = Mock(BuildWorkPreparer)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 20.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/GradleDelegate.kt
@Suppress("DEPRECATION") override fun buildFinished(action: Action<in BuildResult>) = delegate.buildFinished(action) override fun addBuildListener(buildListener: BuildListener) = delegate.addBuildListener(buildListener) override fun addListener(listener: Any) = delegate.addListener(listener) override fun removeListener(listener: Any) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java
private static final ImmutableList<State> CONFIGURATION_STATES = ImmutableList.of(State.Configure, State.TaskSchedule, State.ReadyToRun); private final ExceptionAnalyser exceptionAnalyser; private final BuildListener buildListener; private final BuildModelLifecycleListener buildModelLifecycleListener; private final BuildWorkPreparer workPreparer; private final BuildWorkExecutor workExecutor;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 16.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/GradleInternal.java
* * @param rootProject The root project for this build. */ void setRootProject(ProjectInternal rootProject); /** * Returns the broadcaster for {@link BuildListener} events */ BuildListener getBuildListenerBroadcaster(); @UsedByScanPlugin ServiceRegistry getServices(); void setClassLoaderScope(Supplier<? extends ClassLoaderScope> classLoaderScope);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/invocation/Gradle.java
void buildFinished(Action<? super BuildResult> action); /** * Adds a {@link BuildListener} to this Build instance. * * The listener is notified of events which occur during the execution of the build. * * @param buildListener The listener to add. */ void addBuildListener(BuildListener buildListener); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java
} /** * Should be set with a timestamp from a {@link org.gradle.BuildListener#beforeSettings(Settings)} * callback. */ public void setBuildStarted(long buildStarted) { this.buildStarted = buildStarted; } /** * Should be set with a timestamp from a {@link org.gradle.BuildListener#settingsEvaluated} * callback. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt
delegate.buildFinished(action) override fun addBuildListener(buildListener: BuildListener) = // already reported as configuration cache problem, no need to override delegate.addBuildListener(buildListener) override fun useLogger(logger: Any) = delegate.useLogger(logger)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 14.2K bytes - Viewed (0)