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

Doesn't honour sbt.version #123

Open
dwijnand opened this issue Dec 17, 2019 · 0 comments
Open

Doesn't honour sbt.version #123

dwijnand opened this issue Dec 17, 2019 · 0 comments

Comments

@dwijnand
Copy link

Compare using this launcher (sbt) with using the official launcher (sbtx):

12:43:25 $ sbt -Dsbt.version=1.2.8 'show sbtVersion'
[warn] sbt version mismatch, current: 1.3.5, in build.properties: "1.2.8", use 'reboot' to use the new value.
[info] Loading settings for project global-plugins from global-plugins.sbt ...
[info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/1.0/plugins
[info] Loading settings for project t-sbt-cp-order-build from plugins.sbt ...
[info] Loading project definition from /s/t-sbt-cp-order/project
[info] Loading settings for project t from build.sbt ...
[info] Set current project to t (in build file:/s/t-sbt-cp-order/)
[info] 1.3.5

12:44:14 $ sbtx -Dsbt.version=1.2.8 'show sbtVersion'
[warn] sbt version mismatch, current: 1.2.8, in build.properties: "1.3.5", use 'reboot' to use the new value.
[info] Loading settings for project global-plugins from global-plugins.sbt ...
[info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/1.0/plugins
[info] Loading settings for project t-sbt-cp-order-build from plugins.sbt ...
[info] Loading project definition from /s/t-sbt-cp-order/project
[info] Loading settings for project t from build.sbt ...
[info] Set current project to t (in build file:/s/t-sbt-cp-order/)
[info] 1.2.8

(It's kind of cute how the warning message switches too. 😄)

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

1 participant