New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Takes a very long time to shadow hive-exec #384
Comments
Please try version |
There is no |
I have similar problems with my very small plugin. |
I figured out my problem, the
And my builds are now back to sane levels. |
If you aren't buliding a Gradle plugin ,you shouldn't be using If you are buliding a plugin, you should add |
Adding https://github.com/johnrengelman/shadow/blob/master/build.gradle#L31 |
That’s because the java-gradle-plugin adds it to the compile classpath. If you aren’t using that, then the gradleApi shouldn’t be in the classpath. |
The context mythread is that I am building a Gradle plugin and so I am using
It leads me to believe that, when building a Gradle plugin, all I need to do is shadow the usual Gradle plugin compile dependencies, which is not the case. This is why I pointed out that one must also remove the compile dependencies explicitly. |
Yeah, I believe |
Please check the User Guide before submitting "how do I do 'x'?" questions!
Shadow Version
2.0.3
Gradle Version
4.3.1
Expected Behavior
We have to shadow a few popular dependencies in hive-exec to avoid conflicts, such as Guava, Jline, Jackson...
The shadowJar() task is supposed to finish in seconds.
Actual Behavior
It takes more than 1.5 hours to complete the shadowJar() task.
Gradle Build Script(s)
Content of Shadow JAR (
jar tf <jar file>
- post link to GIST if too long)The text was updated successfully, but these errors were encountered: