++ reverts ^^
See original GitHub issuesteps
- Change the target sbt version with
^^
:^^1.0.0-RC2
- Change the target Scala version with
++
:++2.12.2
problem
The target sbt version has been reverts:
> show pluginCrossBuild::sbtVersion
[info] 0.13.16-M1
> ^^1.0.0-RC2
[info] Setting `sbtVersion in pluginCrossBuild` to 1.0.0-RC2
[info] Set current project to t (in build file:/s/t-2017-07-17.1722/)
> show pluginCrossBuild::sbtVersion
[info] 1.0.0-RC2
> ++2.12.2
[info] Setting version to 2.12.2
[info] Reapplying settings...
[info] Set current project to t (in build file:/s/t-2017-07-17.1722/)
> show pluginCrossBuild::sbtVersion
[info] 0.13.16-M1
expectation
I expect my session-set target sbt version to not be affected by ++
.
notes
sbt version: 0.13.16-M1
Workaround: Call ++
first, then ^^
. 😞
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Revert Definition & Meaning - Merriam-Webster
verb ; 1 · to come or go back (as to a former condition, period, or subject) ; 2 · to return to...
Read more >Revert - Definition, Meaning & Synonyms - Vocabulary.com
While revert means to return to something earlier or to go back, it's often used ... You can revert to a simpler way...
Read more >Revert Definition & Meaning - Dictionary.com
to return to a former habit, practice, belief, condition, etc.: They reverted to the ways of their forefathers. Law. to go back to...
Read more >Revert Definition & Meaning | Britannica Dictionary
REVERT meaning: 1 : to go back or return to (an earlier state, condition, situation, etc.); 2 : to be given to (a...
Read more >REVERT | definition in the Cambridge English Dictionary
revert meaning: 1. to reply: 2. to reply: . Learn more.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Don’t be so sure. You can have a multi-project build with an sbt plugin depending on other non-sbt-plugin projects. In such a case you still need to
++
for the other projects to have the right Scala version, don’t you?It’s a pretty common setup too. A lot of sbt plugins try to abstract away their core logic from sbt integration, so that the core logic can be reused in other build tools or as CLI applications.
Situation’s pretty complicate now:
… I’m going back to using
set
.