Skip to content

Commit

Permalink
6.6.0 - Fix2 - 修复 Temurin 平台无法构建项目
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperMonster003 committed Dec 2, 2024
1 parent 7b867ec commit 789dff8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libs/utils.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 789dff8

Please sign in to comment.