File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ lazy val sourcecode = crossProject.settings(
19
19
organization := " com.lihaoyi" ,
20
20
libraryDependencies ++= macroDependencies(scalaVersion.value),
21
21
unmanagedSourceDirectories in Compile ++= {
22
- if (scalaVersion.value startsWith " 2.12." ) Seq (baseDirectory.value / " .." / " shared" / " src" / " main" / " scala-2.11" )
23
- else Seq ()
22
+ CrossVersion .partialVersion(scalaVersion.value) match {
23
+ case Some ((2 , n)) if n >= 12 =>
24
+ Seq (baseDirectory.value / " .." / " shared" / " src" / " main" / " scala-2.11" )
25
+ case _ =>
26
+ Seq ()
27
+ }
24
28
},
25
29
publishTo := Some (" releases" at " https://oss.sonatype.org/service/local/staging/deploy/maven2" ),
26
30
Original file line number Diff line number Diff line change 1
- sbt.version =0.13.12
1
+ sbt.version =0.13.13
You can’t perform that action at this time.
0 commit comments