Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 566 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 566 Bytes

Task rules

The product directory contains some subdirectories representing product variations. Create a task rule that does the following:

  • Pick up tasks that follow the build<product> scheme, printing the name of the product
  • Throw an exception calls build<product> with an invalid if the user tries to build a non existing product

Hint: Use file('file/path').isDirectory() to check if a path is a valid directory

  • Run ./gradlew buildNimbus2000 and ./gradlew buildNimbus4300
  • Verify that the first build was successful and the second failed