Skip to content

Commit

Permalink
Merge pull request pniederw#3 from xuwei-k/fix-2.13-src-dir
Browse files Browse the repository at this point in the history
fix unmanagedSourceDirectories setting for Scala 2.13
  • Loading branch information
eed3si9n authored Aug 7, 2018
2 parents 6d90776 + f1e6c98 commit ad0d60d
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 ad0d60d

Please sign in to comment.