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

compiler plugin jar size sprawl #16

Open
matanox opened this issue Jan 12, 2016 · 0 comments
Open

compiler plugin jar size sprawl #16

matanox opened this issue Jan 12, 2016 · 0 comments

Comments

@matanox
Copy link
Member

matanox commented Jan 12, 2016

The compiler plugin jar has grown to around 1MB, mainly composed of dependency jars from the canve-shared project. I think many of them can be discluded either through sbt-assembly or by sbt's exclude part of the libraryDependencies DSL (a commented example of which can be seen in the current build.sbt).

We should not include unnecessary libraries in the compiler plugin's uberjar, as each one of them can be a source of entanglement for collision with user versions of the same, or exotic sbt bugs that come into play around it all. Not to mention small size means faster downloads, which also matters.

Shared infrastructure is important, but a clean healthy distributable jar is a higher goal.

Feedback from the github-cruncher may be used to research possible problems before touching this.

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

No branches or pull requests

1 participant