- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for destroyables (0.18 sec)
-
subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java
} if (mutations.hasFileInputs) { throw new IllegalStateException("Task " + taskNode + " has both inputs and destroyables defined. A task can define either inputs or destroyables, but not both."); } if (mutations.hasLocalState) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 16 23:29:30 UTC 2023 - 10.2K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 25.7K bytes - Viewed (0) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultTaskProperties.java
private final List<Object> destroyables = new ArrayList<>(); public GetDestroyablesVisitor(String beanName, FileCollectionFactory fileCollectionFactory) { this.beanName = beanName; this.fileCollectionFactory = fileCollectionFactory; } @Override public void visitDestroyableProperty(Object value) { destroyables.add(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 16 23:29:29 UTC 2023 - 11.4K bytes - Viewed (0) -
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) -
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) -
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
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) -
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)