typelead / gradle-eta

Gradle plugin for the Eta programming language
BSD 3-Clause "New" or "Revised" License
30 stars 7 forks source link

Updating shadow to 2.0.4 causes error #31

Open CThuleHansen opened 6 years ago

CThuleHansen commented 6 years ago

Hi.

I have tried updating the shadow plugin to 2.0.4 using the fatjar example, but it causes an error when building. Gradle log is here: https://scans.gradle.com/s/hwygem3jouuog

rahulmutt commented 6 years ago

So the issue here is that gradle-eta dynamically injects packages into all the gradle configurations and shadow-2.0.4 apparently forces the configuration evaluation first. You can work around this like so:

eta {
  ...
  preInstallDependencies = true
}