Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for destroyables (0.26 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyVisitor.java

    import org.gradle.internal.fingerprint.FileNormalizer;
    import org.gradle.internal.fingerprint.LineEndingSensitivity;
    
    import javax.annotation.Nullable;
    
    /**
     * Visits properties of beans which are inputs, outputs, destroyables, local state, service references or software types.
     */
    public interface PropertyVisitor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/TaskProperties.java

    import org.gradle.internal.properties.bean.PropertyWalker;
    import org.gradle.internal.reflect.validation.TypeValidationContext;
    
    /**
     * A view of the properties of a task.
     *
     * This includes inputs, outputs, destroyables and local state properties.
     *
     * Once created, the view is immutable and registering additional or changing existing task properties will not be detected.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:32:26 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractCommandLineOrderTaskIntegrationTest.groovy

                        ${produces.collect { 'outputs.file file(' + quote(it) + ')' }.join('\n\t\t\t\t')}
                        ${destroys.collect { 'destroyables.register file(' + quote(it) + ')' }.join('\n\t\t\t\t')}
                        ${localState.collect { 'localState.register file(' + quote(it) + ')' }.join('\n\t\t\t\t')}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy

            task.compareTo(_ as TaskInternal) >> { TaskInternal taskInternal ->
                return path.compareTo(taskInternal.identityPath)
            }
            task.outputs >> emptyTaskOutputs()
            task.destroyables >> emptyTaskDestroys()
            task.localState >> emptyTaskLocalState()
            task.inputs >> emptyTaskInputs()
            task.requiredServices >> emptyTaskRequiredServices()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

            output.contains "Input property 'beans.\$1'"
            output.contains "Input property 'beans.\$1.secondInput'"
        }
    
        @ToBeFixedForConfigurationCache(because = "task references another task")
        def "nested destroyables are discovered"() {
            buildFile << classesForNestedProperties()
            buildFile << """
                class MyDestroyer extends DefaultTask {
                    @TaskAction void doStuff() {}
                    @Nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy

            _ * task.identityPath >> Path.path(services.identifier.buildPath).child("task")
            _ * task.taskIdentity >> TestTaskIdentities.create("task", DefaultTask, project)
            _ * task.destroyables >> Stub(TaskDestroyablesInternal)
            _ * task.localState >> Stub(TaskLocalStateInternal)
            _ * project.gradle >> services.gradle
            _ * project.owner >> projectState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            _ * mock.compareTo(_) >> { Task t -> name.compareTo(t.name) }
            _ * mock.outputs >> Stub(TaskOutputsInternal)
            _ * mock.inputs >> Stub(TaskInputsInternal)
            _ * mock.destroyables >> Stub(TaskDestroyablesInternal)
            _ * mock.localState >> Stub(TaskLocalStateInternal)
            _ * mock.path >> ":${name}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            taskProperties.outputFileProperties.empty
            taskProperties.destroyableFiles.empty
        }
    
        def "registers destroyables"() {
            def destroyable = new File(temporaryFolder.file('destroyable').createFile().absolutePath)
            given:
            def task = expectTaskCreated(TaskWithDestroyable, destroyable)
    
            when:
            def taskProperties = DefaultTaskProperties.resolve(propertyWalker, fileCollectionFactory, task)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/Task.java

         *
         * @return The outputs. Never returns null.
         */
        @Internal
        TaskOutputs getOutputs();
    
        /**
         * <p>Returns the destroyables of this task.</p>
         * @return The destroyables.  Never returns null.
         *
         * @since 4.0
         */
        @Internal
        TaskDestroyables getDestroyables();
    
        /**
         * Returns the local state of this task.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    The files that a task removes can be specified through `destroyables.register()`.
    
    .Ad-hoc task declaring a destroyable
    ====
    include::sample[dir="snippets/tasks/incrementalBuild-customTaskClass/kotlin",files="build.gradle.kts[tags=adhoc-destroyable-task]"]
    include::sample[dir="snippets/tasks/incrementalBuild-customTaskClass/groovy",files="build.gradle[tags=adhoc-destroyable-task]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top