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

Cannot disable assembling jars for subprojects #147

Open
l15k4 opened this issue Feb 16, 2015 · 3 comments
Open

Cannot disable assembling jars for subprojects #147

l15k4 opened this issue Feb 16, 2015 · 3 comments
Labels

Comments

@l15k4
Copy link

l15k4 commented Feb 16, 2015

Hey,

I can't figure out how to assemble a jar only for a root project that aggregates and depends on many projects. Whatever I try it always assembles jar for individual projects. I tried to add assembleArtifact := false to them but it doesn't help.

There is a SO question but the answer applies to older version before AutoPlugin.

@eed3si9n
Copy link
Member

That behavior may actually be a bug of auto pluginfied sbt-assembly.
Could you try:

aggregate in assembly := false

and see if that fixes it?

@eed3si9n eed3si9n added the bug label Feb 17, 2015
@l15k4
Copy link
Author

l15k4 commented Feb 17, 2015

Yup, this works, thank you

@ddjxie
Copy link

ddjxie commented Jun 26, 2017

.settings(
.
.
.
)
.disablePlugins(AssemblyPlugin)

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

No branches or pull requests

3 participants