mirror of https://github.com/sbt/sbt.git
Merge pull request #6462 from eed3si9n/wip/sbt-launch
Support alternative sbt-launch repo
This commit is contained in:
commit
7089ea08c8
6
sbt
6
sbt
|
|
@ -98,7 +98,11 @@ jar_file () {
|
|||
}
|
||||
|
||||
jar_url () {
|
||||
echo "https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/$1/sbt-launch-$1.jar"
|
||||
local repo_base="$SBT_LAUNCH_REPO"
|
||||
if [[ $repo_base == "" ]]; then
|
||||
repo_base="https://repo1.maven.org/maven2"
|
||||
fi
|
||||
echo "$repo_base/org/scala-sbt/sbt-launch/$1/sbt-launch-$1.jar"
|
||||
}
|
||||
|
||||
download_url () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue