Skip to content

Instantly share code, notes, and snippets.

Last active Oct 11, 2018
What would you like to do?
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