Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
remove unnecessary redeclaration of tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
takecare committed Mar 19, 2018
1 parent d87d907 commit 02d251f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions sample-multi-module/team-props/tasks.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
task clean(type: Delete, dependsOn: subprojects.collect { p -> "$p.name:clean" }) {
delete project.buildDir
}

task check(dependsOn: subprojects.collect { p ->
"$p.name:check"
})

task assemble(dependsOn: subprojects.collect { p ->
"$p.name:assemble"
})

task build(dependsOn: ['assemble', 'check'])
task build(dependsOn: [rootProject.task('assemble'), rootProject.task('check')])

0 comments on commit 02d251f

Please sign in to comment.