Skip to content

Commit 4c15004

Browse files
authored
Add a gradle task that cleans all sub-projects (temporalio#272)
1 parent ff0bb11 commit 4c15004

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle

+11
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,14 @@ subprojects {
7474
}
7575
}
7676
//logging.captureStandardOutput LogLevel.INFO
77+
78+
task clean {
79+
subprojects.each {
80+
it.afterEvaluate {
81+
def cleanTask = it.tasks.findByName('clean')
82+
if (cleanTask) {
83+
dependsOn(cleanTask)
84+
}
85+
}
86+
}
87+
}

0 commit comments

Comments
 (0)