mirror of https://github.com/sbt/sbt.git
Update launcher URL, take 2
This commit is contained in:
parent
0e15d56291
commit
729197418c
|
|
@ -353,7 +353,7 @@ def downloadUrlForVersion(v: String) = (v split "[^\\d]" flatMap (i => catching(
|
|||
case Array(0, 11, x, _*) if x >= 3 => "https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/"+v+"/sbt-launch.jar"
|
||||
case Array(0, y, _*) if y >= 12 => "https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/"+v+"/sbt-launch.jar"
|
||||
case Array(1, _, _*) if v contains ("-20") => "https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt-launch/"+v+"/sbt-launch.jar"
|
||||
case _ => "https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/"+v+"/sbt-launch"+v+".jar"
|
||||
case _ => "https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/"+v+"/sbt-launch-"+v+".jar"
|
||||
}
|
||||
|
||||
def makePublishToForConfig(config: Configuration) = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue