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

Customize for configuration #752

Closed
DGolubets opened this issue Mar 9, 2016 · 1 comment
Closed

Customize for configuration #752

DGolubets opened this issue Mar 9, 2016 · 1 comment
Labels
documentation Documentation should be extended or updated

Comments

@DGolubets
Copy link

Hi,
I can't find any example of how to do a simple customization based on a configuration.

I want something like this:

lazy val Prod = config("prod") extend Universal
lazy val Dev = config("dev") extend Universal

javaOptions in Dev += "-J-Xmx4G"
javaOptions in Prod += "-J-Xmx8G"

Ofc this doesn't work..

@muuki88 muuki88 added the documentation Documentation should be extended or updated label Mar 9, 2016
@muuki88
Copy link
Contributor

muuki88 commented Mar 9, 2016

Nope, there is no example. And this is not the recommended way to go.
See a full explanation here #746

Maybe we put something in the docs how to do it instead.

@muuki88 muuki88 closed this as completed Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be extended or updated
Projects
None yet
Development

No branches or pull requests

2 participants