Gradle Copy Task Type

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Used by the Java plugin processResources and processTestResources tasks.

Example

task('copySrcDir', type: Copy) {
  from(file('srcDir'))
  into(buildDir)
}