We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Dkey=value
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
In Mill 1.0.0-RC1 if you do mill -Dmyprop=value the property is not set correctly.
1.0.0-RC1
mill -Dmyprop=value
//| mill-version: 1.0.0-RC1 println("ivy.home = " + sys.props.get("ivy.home"))
prints:
ivy.home = None
The text was updated successfully, but these errors were encountered:
The syntax is not normal Java syntax but like a Mill command line argument. mill -D myprop=value or mill --define myprop=value works.
mill -D myprop=value
mill --define myprop=value
Sorry, something went wrong.
mill -Dprop=1 should also work in newer Mill versions.
mill -Dprop=1
@lolgab I put together an integration test, -Dprop=value seems to work correctly at least in the test #5212
-Dprop=value
No branches or pull requests
In Mill
1.0.0-RC1
if you domill -Dmyprop=value
the property is not set correctly.prints:
The text was updated successfully, but these errors were encountered: