- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for BuildListener (0.19 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) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildEventsIntegrationTest.groovy
execute() then: events(16) loggedOncePerBuild('buildListener.settingsEvaluated') loggedOncePerBuild('buildListener.projectsLoaded') loggedOncePerBuild('buildListener.projectsEvaluated') loggedOncePerBuild('gradle.taskGraphReady', [':']) loggedOncePerBuild('buildListener.buildFinished failure=null') loggedOncePerBuild('gradle.buildFinished failure=null') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 15:38:24 UTC 2023 - 17.9K 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) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ProgressLoggingConsumerActionExecutorTest.groovy
final ConsumerAction<String> action = Mock() final ConsumerOperationParameters params = Mock() final ProgressListenerVersion1 listener = Mock() final FailsafeBuildProgressListenerAdapter buildListener = Mock() final ProgressLogger progressLogger = Mock() final ProgressLoggerFactory progressLoggerFactory = Mock() final ListenerManager listenerManager = Mock() final LoggingProvider loggingProvider = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.6K 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)