From 774102ccd7923ab30a9904cdb605f2db541e634b Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Tue, 16 Apr 2024 16:26:07 -0400 Subject: [PATCH] fix: Prevents succesful builds with bad dependencies. fixes #915 --- .../gradle/plugins/shadow/tasks/ShadowCopyAction.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.groovy index 4c3f07142..2e1e011e4 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.groovy @@ -122,6 +122,7 @@ class ShadowCopyAction implements CopyAction { e.cause.message, documentationRegistry.getDslRefForProperty(Zip, "zip64")) ) } + throw e } return WorkResults.didWork(true) }