- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 92 for Listeners (0.21 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuter.java
@Override protected DefaultPhasedBuildActionExecuter getThis() { return this; } @Override public void setStreamedValueListener(StreamedValueListener listener) { operationParamsBuilder.setStreamedValueListener(listener); } @Override public BuildActionExecuter<Void> forTasks(String... tasks) { operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy
(TaskSuccessResult)events.operations[0].result } private void runCacheableBuild(listener) { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks('cacheable').addProgressListener(listener, EnumSet.of(OperationType.TASK)).run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt
override fun onBuildScopeListenerRegistration(listener: Any, invocationDescription: String, invocationSource: Any) { if (isBuildSrcBuild(invocationSource)) { return } problems.onProblem( listenerRegistrationProblem( invocationDescription, InvalidUserCodeException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildProblemReportingIntegrationTest.groovy
then: outputContains "Configuration cache entry discarded with 3 problems." problems.assertFailureHasProblems(failure) { withProblem("Build file 'inc/sub/build.gradle': line 2: registration of listener on 'Gradle.buildFinished' is unsupported".replace('/', File.separator)) withProblem("Build file 'inc/sub/build.gradle': line 5: invocation of 'Task.project' at execution time is unsupported.".replace('/', File.separator))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
security/pkg/nodeagent/test/mock/caserver.go
return server, server.start(port) } func (s *CAServer) start(port int) error { listener, err := net.Listen("tcp", fmt.Sprintf("127.0.0.1:%d", port)) if err != nil { caServerLog.Errorf("cannot listen on port %d (error: %v)", port, err) return err } // If passed in port is 0, get the actual chosen port. port = listener.Addr().(*net.TCPAddr).Port s.URL = fmt.Sprintf("localhost:%d", port) go func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/crossVersionTest/groovy/org/gradle/api/internal/tasks/compile/tooling/JavaCompileTaskOperationResultCrossVersionTest.groovy
} @Issue("https://github.com/gradle/gradle/issues/13990") @TargetGradleVersion(">=6.7") def "reports annotation processor results for JavaCompile task even when build event listener is used"() { settingsFile << """ import javax.inject.Inject import org.gradle.api.services.BuildService import org.gradle.api.services.BuildServiceParameters
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy
} return pullOperations + unpackOperations } private void runCacheableBuild(listener, String task = "cacheable") { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks(task).addProgressListener(listener, EnumSet.of(OperationType.GENERIC, OperationType.TASK)).run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java
@Override protected DefaultBuildActionExecuter<T> getThis() { return this; } @Override public void setStreamedValueListener(StreamedValueListener listener) { operationParamsBuilder.setStreamedValueListener(listener); } @Override public BuildActionExecuter<T> forTasks(String... tasks) { operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy
runBuild(task, events, operationTypes) events } private Object runBuild(String task, ProgressListener listener, Set<OperationType> operationTypes) { withConnection { newBuild() .forTasks(task) .addProgressListener(listener, operationTypes) .run() } } def prepareTaskTypeUsingWorker() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedExecutionAccessListener.kt
@ServiceScope(Scope.BuildTree::class) internal class InstrumentedExecutionAccessListener( private val executionAccessChecker: ExecutionAccessChecker ) : InstrumentedExecutionAccess.Listener { override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, propertyName: String, consumer: String) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.3K bytes - Viewed (0)