Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 52aac28

Browse files
use slash syntax throughout build
1 parent 34b429d commit 52aac28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎build.sbt‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
1313
file -> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")
1414
}.toMap,
1515

16-
scalacOptions in (Compile, doc) ++= {
16+
Compile/doc/ scalacOptions ++= {
1717
if (isDotty.value)
1818
Seq("-language:Scala2")
1919
else
@@ -22,15 +22,15 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
2222
"-doc-source-url",
2323
s"https://github.com/scala/scala-parser-combinators/tree/v${version.value}€{FILE_PATH}.scala",
2424
"-sourcepath",
25-
(baseDirectory in LocalRootProject).value.absolutePath,
25+
(LocalRootProject/ baseDirectory).value.absolutePath,
2626
"-doc-title",
2727
"Scala Parser Combinators",
2828
"-doc-version",
2929
version.value
3030
)
3131
},
32-
unmanagedSourceDirectories in Compile ++= {
33-
(unmanagedSourceDirectories in Compile).value.map { dir =>
32+
Compile/ unmanagedSourceDirectories ++= {
33+
(Compile/ unmanagedSourceDirectories).value.map { dir =>
3434
CrossVersion.partialVersion(scalaVersion.value) match {
3535
case Some((2, 13)) => file(dir.getPath ++ "-2.13+")
3636
case Some((0, _)) => file(dir.getPath ++ "-2.13+")
@@ -47,11 +47,11 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
4747
.jsSettings(
4848
crossScalaVersions -= "0.27.0-RC1",
4949
// Scala.js cannot run forked tests
50-
fork in Test := false
50+
Test/ fork := false
5151
)
5252
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
5353
.nativeSettings(
54-
skip in compile := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2.11"),
54+
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2.11"),
5555
test := {},
5656
libraryDependencies := {
5757
if (!scalaVersion.value.startsWith("2.11"))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /