Skip to content

Commit 92c21f2

Browse files
authored
Merge pull request scala#9694 from retronym/topic/slash-syntax-stragglers
Avoid deprectated DSL in SBT build in two more places
2 parents 98af7bf + 92610b8 commit 92c21f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Add genprod to the build; It should be moved from `src/build` to `project` now that the Ant build is gone
2-
sources in Compile += ((baseDirectory).value.getParentFile / "src" / "build" / "genprod.scala")
2+
Compile / sources += ((baseDirectory).value.getParentFile / "src" / "build" / "genprod.scala")

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enablePlugins(BuildInfoPlugin)
1212

1313
lazy val buildClasspath = taskKey[String]("Colon-separated (or semicolon-separated in case of Windows) list of entries on the sbt build classpath.")
1414

15-
buildClasspath := (externalDependencyClasspath in Compile).value.map(_.data).mkString(java.io.File.pathSeparator)
15+
buildClasspath := (Compile / externalDependencyClasspath).value.map(_.data).mkString(java.io.File.pathSeparator)
1616

1717
buildInfoKeys := Seq[BuildInfoKey](buildClasspath)
1818

0 commit comments

Comments
 (0)