Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for TaskInternal (0.26 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

            }
        }
    
        private
        suspend fun ReadContext.readUpToDateSpec(task: TaskInternal) {
            if (readBoolean()) {
                task.outputs.upToDateWhen(readNonNull<Spec<Task>>())
            }
        }
    
        private
        fun WriteContext.writeReasonNotToTrackState(task: TaskInternal) {
            writeNullableString(task.reasonNotToTrackState.orElse(null))
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

        private static class PreviousOutputFileCollection extends LazilyInitializedFileCollection {
            private final TaskInternal task;
            private final FileCollectionFactory fileCollectionFactory;
            private final ImmutableSortedMap<String, FileSystemSnapshot> previousOutputs;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy

            }
            return new BuildServices(services, identifier, gradle)
        }
    
        TaskInternal task(BuildServices services, Node dependsOn) {
            def projectState = Stub(ProjectState)
            def project = Stub(ProjectInternal)
            def task = Stub(TaskInternal)
            def dependencies = Stub(TaskDependency)
            _ * dependencies.getDependencies(_) >> [dependsOn].toSet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

        }
    
        def "finalizer groups that finalize each other do not form a cycle"() {
            given:
            TaskInternal finalizerA = createTask("finalizerA")
            TaskInternal finalizerB = createTask("finalizerB")
            TaskInternal finalizerDepA = task("finalizerDepA", finalizedBy: [finalizerB])
            TaskInternal finalizerDepB = task("finalizerDepB", finalizedBy: [finalizerA])
            relationships(finalizerA, dependsOn: [finalizerDepA])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            assert createdTask.is(task)
            return task
        }
    
        private static void validateException(TaskInternal task, WorkValidationException exception, String... causes) {
            validateException(task, true, exception, causes)
        }
    
        private static void validateException(TaskInternal task, boolean ignoreType, WorkValidationException exception, String... causes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

            failureHasCause("Cannot create task ':thing' of type 'AbstractTask' as this type is not supported for task registration.")
        }
    
        def "creating a task of type TaskInternal is not supported"() {
            buildFile << """
                task thing(type: ${TaskInternal.name}) { t ->
                    assert t instanceof DefaultTask
                    doFirst { println("thing") }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildTaskGraph.java

     * limitations under the License.
     */
    package org.gradle.composite.internal;
    
    import com.google.common.annotations.VisibleForTesting;
    import org.gradle.api.Task;
    import org.gradle.api.internal.TaskInternal;
    import org.gradle.api.specs.Spec;
    import org.gradle.execution.EntryTaskSelector;
    import org.gradle.execution.plan.PlanExecutor;
    import org.gradle.execution.plan.QueryableExecutionPlan;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:04:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

     * limitations under the License.
     */
    
    package org.gradle.execution.plan;
    
    import org.gradle.api.file.FileTreeElement;
    import org.gradle.api.internal.TaskInternal;
    import org.gradle.api.internal.file.FileCollectionInternal;
    import org.gradle.api.internal.file.FileCollectionStructureVisitor;
    import org.gradle.api.internal.file.FileTreeInternal;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

                throw new InvalidUserDataException("The task name must be provided.");
            }
    
            final Class<? extends TaskInternal> type = Objects.requireNonNull(Cast.uncheckedCast(actualArgs.get(Task.TASK_TYPE)), "Task type must not be null");
    
            final TaskIdentity<? extends TaskInternal> identity = taskIdentityFactory.create(name, type, project);
            return buildOperationRunner.call(new CallableBuildOperation<Task>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

    import org.gradle.api.DefaultTask
    import org.gradle.api.Named
    import org.gradle.api.file.ConfigurableFileCollection
    import org.gradle.api.file.FileCollection
    import org.gradle.api.internal.TaskInternal
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.api.internal.tasks.properties.bean.TestImplementationResolver
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Destroys
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top