Skip to content

Commit

Permalink
Using 'doLast' instead of '<<' for clean task in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Ignacio Ubeira committed Apr 25, 2018
1 parent e2ef89d commit b3d8e8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ task docs(type: Exec, dependsOn: [copySphinxConf, javadoc]) {
commandLine 'make', 'html'
}

task clean << {
ant.delete dir: 'build'
ant.delete file: 'src/main/sphinx/conf.py'
task clean {
doLast {
ant.delete dir: 'build'
ant.delete file: 'src/main/sphinx/conf.py'
}
}

0 comments on commit b3d8e8c

Please sign in to comment.