mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
update doc: javaHome is not File but Option[File].
This commit is contained in:
@@ -104,7 +104,7 @@ directory:
|
||||
|
||||
::
|
||||
|
||||
javaHome := file("/path/to/jre/")
|
||||
javaHome := Some(file("/path/to/jre/"))
|
||||
|
||||
Note that if this is set globally, it also sets the Java installation
|
||||
used to compile Java sources. You can restrict it to running only by
|
||||
@@ -112,7 +112,7 @@ setting it in the :key:`run` scope:
|
||||
|
||||
::
|
||||
|
||||
javaHome in run := file("/path/to/jre/")
|
||||
javaHome in run := Some(file("/path/to/jre/"))
|
||||
|
||||
As with the other settings, you can specify the configuration to affect
|
||||
only the main or test :key:`run` tasks or just the :key:`test` tasks.
|
||||
|
||||
Reference in New Issue
Block a user