Skip to content

Commit

Permalink
Skip scala doc in 2.12 for java classes (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush Narang authored Apr 11, 2017
1 parent 5d5dd54 commit 73c2e69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ val sharedSettings = assemblySettings ++ scalariformSettings ++ Seq(
"-language:existentials"
),

scalacOptions in(Compile, doc) ++= Seq(scalaVersion.value).flatMap {
case v if v.startsWith("2.12") => Seq("-no-java-comments") //workaround for scala/scala-dev#249
case _ => Seq()
},

/**
* add linter for common scala issues:
* https://github.com/HairyFotr/linter
Expand Down

0 comments on commit 73c2e69

Please sign in to comment.