[GRADLE-3576] Child specs in Copy tasks cannot be modified when the Copy task is already running Created: 26/Oct/16 Updated: 26/Oct/16 Resolved: 26/Oct/16 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 3.2-rc-1 |
Fix Version/s: | 3.2-rc-2 |
Type: | Bug | ||
Reporter: | Stefan Wolf | Assignee: | Stefan Wolf |
Resolution: | Fixed | Votes: | 0 |
Description |
See https://discuss.gradle.org/t/gradle-3-2-rc-1-is-now-available-for-testing/20141/6 The following fails with Gradle 3.2 RC1: task copy(type: Copy) { outputs.cacheIf { true } from ("some-dir") into ("build/output") doFirst { from ("some-other-dir") { exclude "excluded-file" } } } It worked with Gradle 3.1 and is due to improved change tracking for the copy and archive tasks. |
Comments |
Comment by Stefan Wolf [ 26/Oct/16 ] |
The code under question now yields a deprecation warning but does not produce an error. |