From a331c0625d9880526e33d63d76e9f81fa660d7fb Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Sat, 10 Dec 2016 18:28:49 -0800 Subject: [PATCH] tweak build to work in the Scala 2.13 community build --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 923c9d1..d5782ab 100644 --- a/build.sbt +++ b/build.sbt @@ -30,7 +30,7 @@ lazy val crossVersionSharedSources: Seq[Setting[_]] = (unmanagedSourceDirectories in sc ).value.map { dir: File => CrossVersion.partialVersion(scalaVersion.value) match { case Some((2, y)) if y == 11 => new File(dir.getPath + "-2.11") - case Some((2, y)) if y == 12 => new File(dir.getPath + "-2.12") + case Some((2, y)) if y >= 12 => new File(dir.getPath + "-2.12") } } }