Update launcher URL, take 2

This commit is contained in:
Eugene Yokota 2021-03-07 19:24:05 -05:00
parent 0e15d56291
commit 729197418c
1 changed files with 1 additions and 1 deletions

View File

@ -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) = {