Commit 3afb032
committed
Attempt to inform consumer if transformation failed
Exceptions that are thrown in artifact transforms are swallowed by Gradle unless it's necessary for a task execution. This means that artifact transforms that are run as part of IDE sync may have its exceptions silently ignored, while the dependency fails to resolve.
The workaround for now is simply to try and log the thrown exception before throwing it, by wrapping the transform process in a try/catch.1 parent 874a725 commit 3afb032
File tree
1 file changed
+9
-0
lines changed- at-gradle/src/main/java/net/minecraftforge/accesstransformers/gradle
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
195 | 204 | | |
196 | 205 | | |
197 | 206 | | |
| |||
0 commit comments