6.6.0 - Fix2 - 修复 Temurin 平台无法构建项目
This commit is contained in:
@@ -134,17 +134,21 @@ class Utils {
|
||||
}
|
||||
|
||||
if (shouldExtract) {
|
||||
printExtractInfo()
|
||||
try {
|
||||
printExtractInfo()
|
||||
extractCacheFile()
|
||||
generateMd5File(cacheFile)
|
||||
} catch (Exception e) {
|
||||
println("\n") // two line breaks
|
||||
println("Cache file was deleted as there is an error during extraction")
|
||||
println("Cache file: ${cacheFile.absolutePath}")
|
||||
cacheFile.delete()
|
||||
if (e.message != null) {
|
||||
println("Error message: $e.message")
|
||||
}
|
||||
println()
|
||||
throw e
|
||||
}
|
||||
generateMd5File(cacheFile)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user