[GRADLE-3554] Copy task doesn't follow dependencies of CopySpec task Created: 12/Sep/16  Updated: 12/Sep/16  Resolved: 12/Sep/16

Status: Resolved
Project: Gradle
Affects Version/s: 3.0
Fix Version/s: 3.1-rc-1

Type: Bug
Reporter: Lóránt Pintér Assignee: Lóránt Pintér
Resolution: Fixed Votes: 0


 Description   

With the following build script:

apply plugin: "war"

task copy(type: Copy) {
    from 'src'
    into 'dest'
    with tasks.war
}

Running copy should execute the dependencies of the war task:

:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:copy

BUILD SUCCESSFUL

But in 3.0 it ignores the dependencies of war:

:copy

BUILD SUCCESSFUL

Generated at Wed Jun 30 12:51:50 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.