Skip to content

Instantly share code, notes, and snippets.

@mtgto
Created January 30, 2018 00:10
Show Gist options
  • Save mtgto/1c9395fd71d0a19ebb7d59881eeacbfe to your computer and use it in GitHub Desktop.
Save mtgto/1c9395fd71d0a19ebb7d59881eeacbfe to your computer and use it in GitHub Desktop.
[~/.sbt/repositories] Use google's maven central mirror, prevent to redirect for lightbend repository.
# http://www.scala-sbt.org/1.x/docs/Launcher-Configuration.html
# https://storage-download.googleapis.com/maven-central/index.html
[repositories]
local
maven-central: https://maven-central-asia.storage-download.googleapis.com/repos/central/data/
lightbend-ivy-releases: https://dl.bintray.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
#typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots
@michaelahlers
Copy link

See also the published list of mirrors for alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment