Skip to content

Instantly share code, notes, and snippets.

@ukayani
Last active Oct 11, 2018
Embed
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