mirror of https://github.com/sbt/sbt.git
Docs: fix formatting in LocalScala from initial conversion to rST
This commit is contained in:
parent
d95263f582
commit
4dde1468ad
|
|
@ -7,13 +7,21 @@ which is of type ``Option[File]``. This Scala version will only be used
|
||||||
for the build and not for sbt, which will still use the version it was
|
for the build and not for sbt, which will still use the version it was
|
||||||
compiled against.
|
compiled against.
|
||||||
|
|
||||||
Example: ``scala scalaHome := Some(file("/path/to/scala"))``
|
Example:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
scalaHome := Some(file("/path/to/scala"))``
|
||||||
|
|
||||||
Using a local Scala version will override the ``scalaVersion`` setting
|
Using a local Scala version will override the ``scalaVersion`` setting
|
||||||
and will not work with :doc:`cross building <Cross-Build>`.
|
and will not work with :doc:`cross building <Cross-Build>`.
|
||||||
|
|
||||||
sbt reuses the class loader for the local Scala version. If you
|
sbt reuses the class loader for the local Scala version. If you
|
||||||
recompile your local Scala version and you are using sbt interactively,
|
recompile your local Scala version and you are using sbt interactively,
|
||||||
run ``text > reload``
|
run
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
> reload
|
||||||
|
|
||||||
to use the new compilation results.
|
to use the new compilation results.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue