Skip to content

Commit 6d64fa0

Browse files
committed
disable docs for now, no genjavadoc yet
1 parent 675831f commit 6d64fa0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ crossScalaVersions in ThisBuild := List("2.12.6", "2.11.12")
66

77
val disableDocs = sys.props("nodocs") == "true"
88

9-
lazy val JavaDoc = config("genjavadoc") extend Compile
9+
//lazy val JavaDoc = config("genjavadoc") extend Compile
1010

1111
def jwrite(dir: java.io.File, pck: String = "scala/compat/java8")(name: String, content: String) = {
1212
val f = dir / pck / s"${name}.java"
@@ -105,6 +105,9 @@ lazy val root = (project in file(".")).
105105
}
106106
).
107107
settings(
108+
sources in (Compile,doc) := Seq.empty,
109+
publishArtifact in (Compile, packageDoc) := false).
110+
/* settings(
108111
(inConfig(JavaDoc)(Defaults.configSettings) ++ (if (disableDocs) Nil else Seq(
109112
packageDoc in Compile := (packageDoc in JavaDoc).value,
110113
sources in JavaDoc := {
@@ -118,7 +121,7 @@ lazy val root = (project in file(".")).
118121
libraryDependencies += compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.11" cross CrossVersion.full),
119122
scalacOptions in Compile += "-P:genjavadoc:out=" + (target.value / "java")
120123
))): _*
121-
).
124+
).*/
122125
settings(
123126
initialCommands :=
124127
"""|import scala.concurrent._

0 commit comments

Comments
 (0)