Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit b3d8e8c

Browse files
author
Juan Ignacio Ubeira
committed
Using 'doLast' instead of '<<' for clean task in docs.
1 parent e2ef89d commit b3d8e8c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/build.gradle

+5-3
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ task docs(type: Exec, dependsOn: [copySphinxConf, javadoc]) {
3737
commandLine 'make', 'html'
3838
}
3939

40-
task clean << {
41-
ant.delete dir: 'build'
42-
ant.delete file: 'src/main/sphinx/conf.py'
40+
task clean {
41+
doLast {
42+
ant.delete dir: 'build'
43+
ant.delete file: 'src/main/sphinx/conf.py'
44+
}
4345
}
4446

0 commit comments

Comments
 (0)