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

Producing Multiple Unique JARs from a Single Source Directory #1359

Closed
mvillafuertem opened this issue Aug 14, 2020 · 2 comments
Closed

Producing Multiple Unique JARs from a Single Source Directory #1359

mvillafuertem opened this issue Aug 14, 2020 · 2 comments

Comments

@mvillafuertem
Copy link

mvillafuertem commented Aug 14, 2020

- my-app-project
      - src/main/scala
          - api/controller.scala 
          - model/domain.scala
          - utils/util.scala

I need this result.

my-app-0.1.0.jar
my-app-api-0.1.0.jar
my-app-model-0.1.0.jar
my-app-utils-0.1.0.jar

Is this possible? Thanks!

@muuki88
Copy link
Contributor

muuki88 commented Aug 15, 2020

Hi @mvillafuertem

Thanks for your question 😃 Can you please add a bit more information on what you already tried and what you are trying to achieve?

Native packager builds distributions and not jars. The output formats are zip, dmg, rpm, deb or docker images. If you have multiple main classes you get multiple bash / bat scripts to run them.

@muuki88 muuki88 closed this as completed Aug 15, 2020
@mvillafuertem
Copy link
Author

Ouch! 🤦🏻‍♂️ My fault sorry, Thanks for your answer. This question should be for sbt-assembly...

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

2 participants