Skip to content

Instantly share code, notes, and snippets.

@ukayani
Last active October 11, 2018 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ukayani/67cb15c099be62348323a37416f12e67 to your computer and use it in GitHub Desktop.
Save ukayani/67cb15c099be62348323a37416f12e67 to your computer and use it in GitHub Desktop.
SBT Environment Variables
val mavenResolver = sys.env.get("TOKEN").map(token => Seq("repo" at s"https://repourl/maven2"))
resolvers ++= mavenResolver.getOrElse(Seq.empty[Resolver])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment