Hello, 

Im setting this task outputs like shown in the user guide, but It's always
being resolved as "up to date as it has no source files".

task buildExplodedWar(type: Copy)<<{
      //Configuring inputs/outputs
      destDir = new File ("$project.buildDir/war")
      project.configurations.runtime.each{srcFile ->
          inputs.file srcFile
      }
      outputs.dir destDir
      //Some copy behaviour
}

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Setting-task-inputs-and-outputs-always-gives-UP-to-Date-tp5597656p5597656.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to