Skip to content

Instantly share code, notes, and snippets.

@th-deng
Created January 23, 2020 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save th-deng/265eefe9c0ee83d4364ab8583e75902c to your computer and use it in GitHub Desktop.
Save th-deng/265eefe9c0ee83d4364ab8583e75902c to your computer and use it in GitHub Desktop.
Add task ordering
// groovy DSL
test {
// ... (생략) ...
finalizedBy 'jacocoTestReport'
}
jacocoTestReport {
// ... (생략) ...
finalizedBy 'jacocoTestCoverageVerification'
}
// kotlin DSL
tasks.test {
// ... (생략) ...
finalizedBy("jacocoTestReport")
}
tasks.jacocoTestReport {
// ... (생략) ...
finalizedBy("jacocoTestCoverageVerification")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment