Fix some build and compile warnings

This commit is contained in:
Johan Andrén 2017-03-15 13:42:10 +01:00
parent 3f0c23e2da
commit 39199b877a
5 changed files with 6 additions and 6 deletions

View file

@ -205,7 +205,7 @@ object DependencyHelpers {
* dependent entries.
*/
def versionDependentDeps(modules: ScalaVersionDependentModuleID*): Def.Setting[Seq[ModuleID]] =
libraryDependencies <++= scalaVersion(version => modules.flatMap(m => m.modules(version)))
libraryDependencies ++= modules.flatMap(m => m.modules(scalaVersion.value))
val ScalaVersion = """\d\.\d+\.\d+(?:-(?:M|RC)\d+)?""".r
val nominalScalaVersion: String => String = {