Skip to content

Instantly share code, notes, and snippets.

@paradoja
Created May 23, 2017 09:48
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 paradoja/3aa8f7853a9682e1e5540007a80f933d to your computer and use it in GitHub Desktop.
Save paradoja/3aa8f7853a9682e1e5540007a80f933d to your computer and use it in GitHub Desktop.
import Resolvers._
object add {
def apply(org: String, sub: String) = {
val newResolver = Resolver.Http("bintray", s"https://dl.bintray.com/$org/$sub/", MavenPattern, true)
interp.resolvers() = interp.resolvers() :+ newResolver
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment