Skip to content

Commit

Permalink
another build.sbt syntax update to make latest sbt version happy
Browse files Browse the repository at this point in the history
  • Loading branch information
neowit committed Oct 22, 2023
1 parent 085a3be commit 2657e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ scalacOptions ++= Seq(
// disable generation of scala-<version> folders, we do not need cross compilation
crossPaths := false

sources in doc in Compile := List() // do NOT generate Scaladoc, it is a waste of time
Compile / doc / sources := List() // do NOT generate Scaladoc, it is a waste of time

// Get rid of scala-{version} folders
sourceDirectories in Compile ~= ( dirs =>
Compile / sourceDirectories ~= ( dirs =>
dirs.filterNot(_.absolutePath.endsWith("-2.11")).filterNot(_.absolutePath.endsWith("-2.12"))
)

Expand Down

0 comments on commit 2657e06

Please sign in to comment.