- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for destroyables (0.2 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/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle
from processTemplates } // end::inferred-task-dep-via-task[] // tag::adhoc-destroyable-task[] tasks.register('removeTempDir') { def tempDir = layout.projectDirectory.dir('tmpDir') destroyables.register(tempDir) doLast { tempDir.asFile.deleteDir() } } // end::adhoc-destroyable-task[] tasks.named('build') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K 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) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/kotlin/build.gradle.kts
from(processTemplates) } // end::inferred-task-dep-via-task[] // tag::adhoc-destroyable-task[] tasks.register("removeTempDir") { val tmpDir = layout.projectDirectory.dir("tmpDir") destroyables.register(tmpDir) doLast { tmpDir.asFile.deleteRecursively() } } // end::adhoc-destroyable-task[] tasks.build {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.Task.xml
</tr> <tr> <td>outputs</td> </tr> <tr> <td>localState</td> </tr> <tr> <td>destroyables</td> </tr> <tr> <td>temporaryDir</td> </tr> <tr> <td>taskDependencies</td> </tr> <tr>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDestroyables.java
visitor.visitDestroyableProperty(registeredPath); } } @Override public FileCollection getRegisteredFiles() { return fileCollectionFactory.resolving("destroyables", registeredPaths); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2K bytes - Viewed (0) -
platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationType.java
* Before task execution ({@link org.gradle.api.internal.tasks.execution.ExecuteTaskBuildOperationType}), * the mutations of the task need to be resolved. The mutations of a task are the locations it may modify, * e.g. its outputs, destroyables and local state. In order to resolve the mutations, the task input and output * properties are detected as well. Since Gradle 7.5, resolving of the mutations happens in a separate node * in the execution graph. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 10 08:07:59 UTC 2023 - 1.7K bytes - Viewed (0)