0

How can I stop a gradle build from within an artifact transform?

Any exceptions I throw are completely swallowed by gradle and the build continues on as normal until it hits a FileNotFoundException as I haven't provided an output jar.

None of the solutions provided in this question work.

I would like to provide some additional information in my error messages, rather than the build fail for an unknown reason

Tom Martin
  • 300
  • 1
  • 2
  • 12

1 Answers1

0

Artifact transforms properly fail the build in any gradle task, but from within ideaSyncTask they do not fail the build.

This is an IntelliJ bug, see this IDEA issue

Tom Martin
  • 300
  • 1
  • 2
  • 12