Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.11 KB

Task Types

Using built-in Types

By creating a task of a type, you inherit the properties and actions of that type.

Zip

Zip docs

  • Configure the placeholder zipTask task to zip up all the .txt files in the project directory
  • Run ./gradlew zipTask
  • Assert the zip file contains all the .txt files

Copy

Copy docs

  • Configure the placeholder copyTask task to copy the zip file made by zipTask to the folder archive
  • Run ./gradlew copyTask
  • Assert the zip file has been copied to an archive subdirectory

Delete

Delete docs

  • Configure the placeholder deleteTask task to delete all .txt and .zip files from the project root directory
  • Run ./gradlew deleteTask
  • Assert the .zip and .txt files have been removed

Exec

Exec docs

  • Create an Exec task that executes either ls or dir.