Temporarily add Sonatype snapshots repository to plugin module

For 2.10 artifacts of the other modules to be found by the coursier SBT plugin - it can't else because of its to-naive inter-project resolver
This commit is contained in:
Alexandre Archambault 2016-02-16 16:09:54 +01:00
parent bd9503bb75
commit df7564a9c9
1 changed files with 4 additions and 1 deletions

View File

@ -319,7 +319,10 @@ lazy val plugin = project
name := "coursier-sbt-plugin", name := "coursier-sbt-plugin",
sbtPlugin := { sbtPlugin := {
scalaVersion.value.startsWith("2.10.") scalaVersion.value.startsWith("2.10.")
} },
// added so that 2.10 artifacts of the other modules can be found by
// the too-naive-for-now inter-project resolver of the coursier SBT plugin
resolvers += Resolver.sonatypeRepo("snapshots")
) )
lazy val `coursier` = project.in(file(".")) lazy val `coursier` = project.in(file("."))