Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Conversation

@cmathiesen
Copy link

Had to exclude a few dependencies from the relocate-external-dependencies because of runtime class uniqueness issues as it the module pulls in a few dependencies from the shared project-wide dependencies

}

dependencies {
exclude(dependency('com.github.stephenc.findbugs:findbugs-annotations'))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move these up into the section starting on line 115 so they are all in the same place?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this can be moved, I think this exclude(dependency(..)) thing is part of the shadowJar plugin, so it needs to happen here rather than in the module dependencies section

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right, sorry, I missed that.

}

project(':iceberg-common') {}
project(':iceberg-common') {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you not also need to do this for iceberg-arrow? Or does it get the relocate-external-dependencies transitively?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it can get them transitively here

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I don't like the fact that this is how it works, I prefer declaring what I know I need but let's not change it for now.

}

dependencies {
exclude(dependency('com.github.stephenc.findbugs:findbugs-annotations'))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right, sorry, I missed that.

}

project(':iceberg-common') {}
project(':iceberg-common') {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I don't like the fact that this is how it works, I prefer declaring what I know I need but let's not change it for now.

@massdosage massdosage merged commit 2e3d2db into relocated-external-dependencies Apr 29, 2020
@massdosage massdosage deleted the shade-guava branch November 19, 2020 12:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants