Skip to content

Commit

Permalink
build: make sure launcher is downloaded from correct repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph authored Apr 19, 2021
1 parent 6a5b1fb commit abb6aa4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ before_install:
- git remote set-branches --add origin master && git fetch
- whereis java
- java -version
# Initialize launcher from the correct URL so that later sbt runs work out of the box.
# Travis' default sbt launch script refers to `repo.scala-sbt.org` for downloading the launcher
# which currently doesn't work any more
- sbt -sbt-launch-repo https://repo1.maven.org/maven2 exit

addons:
apt:
Expand All @@ -34,7 +38,7 @@ before_cache:
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.sbt
- $HOME/.cache/coursier

env:
Expand Down

0 comments on commit abb6aa4

Please sign in to comment.