sbt-plugins don't copy over to bintray, so we still need to hit maven central, but last.

This commit is contained in:
Josh Suereth 2015-03-25 07:40:46 -04:00
parent a1b8102d81
commit a27bb97415
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
local
jcenter: https://jcenter.bintray.com/
${{repositories}}
maven-central
[boot]

View File

@ -88,7 +88,7 @@ object Transform {
def read(file: File): Option[String] = try { Some(IO.read(file)) } catch { case _: java.io.IOException => None }
lazy val Property = """\$\{\{([\w.-]+)\}\}""".r
def repositories(isSnapshot: Boolean) = Releases :: (if (isSnapshot) Snapshots :: SonatypeSnapshots :: Nil else Nil)
def repositories(isSnapshot: Boolean) = Releases :: (if (isSnapshot) Snapshots :: SonatypeSnapshots :: Nil else Nil)
lazy val Releases = typesafeRepository("releases")
lazy val Snapshots = typesafeRepository("snapshots")
lazy val SonatypeSnapshots = sonatypeRepsoitory("snapshots")