We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec8b1f commit 28f14faCopy full SHA for 28f14fa
1 file changed
build.gradle
@@ -202,12 +202,11 @@ subprojects {
202
ignoreExitValue = maybeIgnoreExitValue
203
standardOutput = runStandardOutput
204
errorOutput = runErrorOutput
205
- addShutdownHook {
206
- runStandardOutput.close()
207
- runErrorOutput.close()
208
- if (outFile.size() == 0) outFile.delete()
209
- if (errFile.size() == 0) errFile.delete()
210
- }
+ } << {
+ runStandardOutput.close()
+ runErrorOutput.close()
+ if (outFile.size() == 0) outFile.delete()
+ if (errFile.size() == 0) errFile.delete()
211
}
212
213
0 commit comments