Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for destroyables (0.27 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

            given:
            withParallelThreads(2)
            buildFile << """
                def dir = rootProject.file("dir")
    
                aPing.destroyables.register dir
    
                bPing.outputs.file dir
            """
    
            expect:
            2.times {
                blockingServer.expectConcurrent(1, ":aPing", ":bPing")
                run ":aPing", ":bPing"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

        }
    
        private
        suspend fun WriteContext.writeDestroyablesOf(task: TaskInternal) {
            val destroyables = (task.destroyables as TaskDestroyablesInternal).registeredFiles
            if (destroyables.isEmpty) {
                writeBoolean(false)
            } else {
                writeBoolean(true)
                write(destroyables)
            }
        }
    
        private
        suspend fun ReadContext.readDestroyablesOf(task: TaskInternal) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
Back to top