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