Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 569 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 569 Bytes

Task execution order

Configuring execution order

This exercise's build.gradle script contains hello and goodbye tasks.

  • Run ./gradlew goodbye hello
  • Notice that "see you later!" appears before the "Hey there!" message.

Configure the tasks so goodbye runs after the hello task. (This should only apply in case both are explicitly called, avoid creating task execution dependencies.)

  • Run ./gradlew goodbye hello
  • Assert that they ran in the correct order (hello -> goodbye)
  • Run ./gradlew goodbye
  • Assert that hello did not run