- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for BuildListener (0.15 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy
println "gradle.addListener(BuildListener) from $source" } }) gradle.addBuildListener(new BuildAdapter() { void projectsLoaded(Gradle ignored) { println "gradle.addBuildListener(BuildListener) from $source" } }) """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 40.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfo.java
} } }; daemonExpirationListenerReference.set(daemonExpirationListener); listenerManager.addListener(daemonExpirationListener); final BuildAdapter buildListener = new InternalBuildAdapter() { @Override public void buildFinished(BuildResult result) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/build-events/src/test/groovy/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistryTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.build.event import org.gradle.BuildListener import org.gradle.BuildResult import org.gradle.api.internal.GradleInternal import org.gradle.api.internal.provider.Providers import org.gradle.initialization.BuildEventConsumer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/custom-logger-init.gradle
if (gradle.parent == null) { useLogger(new CustomLogger()) } class CustomLogger extends BuildAdapter implements BuildListener, ProjectEvaluationListener, TaskExecutionListener, TaskActionListener { def logger = Logging.getLogger('init-script') public void buildFinished(BuildResult result) { logger.info("LOGGER: build finished") println 'init callback quiet out' } public void beforeEvaluate(Project project) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ToolingApiBuildEventListenerFactory.java
} private ClientBuildEventGenerator createClientBuildEventGenerator(BuildEventSubscriptions subscriptions, BuildEventConsumer consumer, ProgressEventConsumer progressEventConsumer) { BuildOperationListener buildListener = createBuildOperationListener(subscriptions, progressEventConsumer); OperationDependenciesResolver operationDependenciesResolver = new OperationDependenciesResolver();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 7.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildResultLogger.java
import static org.gradle.internal.logging.text.StyledTextOutput.Style.FailureHeader; import static org.gradle.internal.logging.text.StyledTextOutput.Style.SuccessHeader; /** * A {@link org.gradle.BuildListener} which logs the final result of the build. */ public class BuildResultLogger { private final StyledTextOutputFactory textOutputFactory; private final BuildStartedTime buildStartedTime;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 08 10:17:53 UTC 2020 - 3.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/DefaultIsolatedAntBuilder.java
Class<?> projectClass = project.getClass(); ClassLoader cl = projectClass.getClassLoader(); Class<?> buildListenerClass = cl.loadClass("org.apache.tools.ant.BuildListener"); Method addBuildListener = projectClass.getDeclaredMethod("addBuildListener", buildListenerClass); Method removeBuildListener = projectClass.getDeclaredMethod("removeBuildListener", buildListenerClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 02 18:37:54 UTC 2023 - 11.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildLogger.java
import org.gradle.internal.logging.format.TersePrettyDurationFormatter; import org.gradle.internal.logging.text.StyledTextOutputFactory; import org.gradle.internal.time.Clock; /** * A {@link org.gradle.BuildListener} which logs the build progress. */ public class BuildLogger implements InternalBuildListener, TaskExecutionGraphListener { private final Logger logger; private final BuildExceptionReporter exceptionReporter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 04 18:57:43 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForBuildOperationsTest.groovy
new BuildProgressListenerAdapter([:]) } private static BuildProgressListenerAdapter createAdapter(ProgressListener buildListener) { new BuildProgressListenerAdapter([(OperationType.GENERIC): [buildListener]]) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileEventAdapter.java
this.buildProfile = buildProfile; this.buildStartedTime = buildStartedTime; this.clock = clock; } // BuildListener @Override public void beforeSettings(Settings settings) { long now = clock.getCurrentTime(); buildProfile.setBuildStarted(now);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 5.4K bytes - Viewed (0)