Skip to content
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

ProcessorsExample.kt types leak into final artifact #7

Open
nanodeath opened this issue Mar 6, 2021 · 2 comments
Open

ProcessorsExample.kt types leak into final artifact #7

nanodeath opened this issue Mar 6, 2021 · 2 comments

Comments

@nanodeath
Copy link

Using this library is slightly complicated by ProcessorsExample.kt publishing all of its types (like Entity, EntityType, Attribute) into the final artifact. Whenever I'm importing Entity in my own code, I need to differentiate between org.hexworks.amethyst.api.entity.Entity (the correct one) and the root level Entity (from ProcessorsExample.kt).

I'm not sure exactly what the right answer here is, but perhaps this entire file can be moved into jvmTest perhaps?

@nanodeath
Copy link
Author

image

@nanodeath
Copy link
Author

Entity is especially confusing:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant