Skip to content

Commit

Permalink
fix unmanagedSourceDirectories setting for Scala 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jun 5, 2018
1 parent 6d90776 commit f1e6c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lazy val expecty = crossProject(JVMPlatform, JSPlatform, NativePlatform).in(file
else Seq("-Yrangepos", "-feature", "-deprecation")
},
Compile / unmanagedSourceDirectories ++= {
if (scalaVersion.value startsWith "2.13") Seq(baseDirectory.value / "src" / "main" / "scala-2.13-beta")
if (scalaVersion.value startsWith "2.13") Seq((baseDirectory in LocalRootProject).value / "shared" / "src" / "main" / "scala-2.13-beta")
else Nil
},
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
Expand Down

0 comments on commit f1e6c98

Please sign in to comment.