mirror of https://github.com/sbt/sbt.git
Singularize java version in welcome banner
This commit is contained in:
parent
1da0b3afd2
commit
4e66b492e5
|
|
@ -130,7 +130,7 @@ lazy val sbtRoot: Project = (project in file("."))
|
||||||
|""".stripMargin +
|
|""".stripMargin +
|
||||||
(if (sys.props("java.specification.version") != "1.8")
|
(if (sys.props("java.specification.version") != "1.8")
|
||||||
s"""!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
s"""!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
| Java versions is ${sys.props("java.specification.version")}. We recommend 1.8.
|
| Java version is ${sys.props("java.specification.version")}. We recommend 1.8.
|
||||||
|!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""".stripMargin
|
|!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""".stripMargin
|
||||||
else "")
|
else "")
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue