Clarify CrossJava will be on-par in sbt 1.3.0 (#25876)
This commit is contained in:
parent
6cbba51f94
commit
14d9b845c4
1 changed files with 6 additions and 2 deletions
|
|
@ -12,6 +12,12 @@ import sbt._
|
||||||
import scala.annotation.tailrec
|
import scala.annotation.tailrec
|
||||||
import scala.collection.immutable.ListMap
|
import scala.collection.immutable.ListMap
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Tools for discovering different Java versions,
|
||||||
|
* will be in sbt 1.3.0 (https://github.com/sbt/sbt/pull/4139 et al)
|
||||||
|
* but until that time replicated here
|
||||||
|
*/
|
||||||
|
|
||||||
case class JavaVersion(numbers: Vector[Long], vendor: Option[String]) {
|
case class JavaVersion(numbers: Vector[Long], vendor: Option[String]) {
|
||||||
def numberStr: String = numbers.mkString(".")
|
def numberStr: String = numbers.mkString(".")
|
||||||
|
|
||||||
|
|
@ -29,8 +35,6 @@ object JavaVersion {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Tools for discovering different Java versions,
|
|
||||||
* will be in sbt 1.1.7 (https://github.com/sbt/sbt/pull/4139) but until that time replicated here */
|
|
||||||
object CrossJava {
|
object CrossJava {
|
||||||
object Keys {
|
object Keys {
|
||||||
val discoveredJavaHomes = settingKey[Map[String, File]]("Discovered Java home directories")
|
val discoveredJavaHomes = settingKey[Map[String, File]]("Discovered Java home directories")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue