- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for taskevents (0.28 sec)
-
platforms/documentation/docs/src/snippets/plugins/buildServiceListener/groovy/buildSrc/build.gradle
plugins { id('java-gradle-plugin') } repositories { mavenCentral() } gradlePlugin { plugins { taskEvents { id = 'org.gradle.sample.taskevents' implementationClass = 'TaskEventsPlugin' } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 248 bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r34/NoSourceTaskOutcomeCrossVersionSpec.groovy
}""" } @TargetGradleVersion('>=3.4') def "tasks with no source is reported as NO-SOURCE"() { when: def taskEvents = ProgressEvents.create() runBuild(taskEvents) then: skippedTaskResult(taskEvents).skipMessage == "NO-SOURCE" } private TaskSkippedResult skippedTaskResult(ProgressEvents events) { events.operations.size() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/buildServiceListener/groovy/buildSrc/src/main/java/TaskEventsPlugin.java
@Override public void apply(Project project) { Provider<TaskEventsService> serviceProvider = project.getGradle().getSharedServices().registerIfAbsent( "taskEvents", TaskEventsService.class, spec -> {}); // <2> getEventsListenerRegistry().onTaskCompletion(serviceProvider); // <3> }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 697 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/buildServiceListener/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 125 bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/classnames/ClassNameCollector.java
} return symbol; } private static boolean isPackageInfoFile(TaskEvent e, File asSourceFile) { return e.getKind() == TaskEvent.Kind.ANALYZE && "package-info.java".equals(asSourceFile.getName()); } private static boolean isClassGenerationPhase(TaskEvent e) { return e.getKind() == TaskEvent.Kind.GENERATE; } public void registerMapping(String key, String symbol) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantsCollector.java
* limitations under the License. */ package org.gradle.internal.compiler.java.listeners.constants; import com.sun.source.util.JavacTask; import com.sun.source.util.TaskEvent; import com.sun.source.util.TaskEvent.Kind; import com.sun.source.util.TaskListener; import com.sun.source.util.TreePath; import com.sun.source.util.Trees; import java.util.Collection; import java.util.HashMap; import java.util.Map;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
childSpec.validate(expectedOperationDisplayName) } DefaultTestEventSpec(OperationDescriptor parent, List<JvmTestOperationDescriptor> testEvents, Set<OperationDescriptor> verifiedEvents) { this.parent = parent this.testEvents = testEvents this.verifiedEvents = verifiedEvents } @Override void operationDisplayName(String displayName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy
} def "output events have correct parent test events"() { when: runTestAndCollectProgressEvents() TestFinishEvent testEvent = testEvents.find { TestFinishEvent e -> e.descriptor instanceof JvmTestOperationDescriptor && e.descriptor.methodName == 'works'}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/scheduler/util/assumecache/assume_cache_test.go
// Restore object. cache.Restore(oldObj.GetName()) verify(ktesting.WithStep(tCtx, "after second Restore"), cache, oldObj.GetName(), oldObj, oldObj) } func TestEvents(t *testing.T) { tCtx, cache, informer := newTest(t) oldObj := makeObj("pvc1", "5", "") newObj := makeObj("pvc1", "6", "") key := oldObj.GetName() // Add old object to cache. informer.add(oldObj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
elem := item.(*storeElement) items[elem.Key] = *elem } if !apiequality.Semantic.DeepEqual(expected, items) { t.Errorf("expected %v, got %v", expected, items) } } } func TestEvents(t *testing.T) { store := newTestWatchCache(5, &cache.Indexers{}) defer store.Stop() // no dynamic-size cache to fit old tests. store.lowerBoundCapacity = 5 store.upperBoundCapacity = 5
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0)