File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ crossScalaVersions in ThisBuild := List("2.13.0-M4")
4
4
5
5
val disableDocs = sys.props(" nodocs" ) == " true"
6
6
7
- // lazy val JavaDoc = config("genjavadoc") extend Compile
7
+ lazy val JavaDoc = config(" genjavadoc" ) extend Compile
8
8
9
9
def jwrite (dir : java.io.File , pck : String = " scala/compat/java8" )(name : String , content : String ) = {
10
10
val f = dir / pck / s " ${name}.java "
@@ -103,9 +103,6 @@ lazy val root = (project in file(".")).
103
103
}
104
104
).
105
105
settings(
106
- sources in (Compile ,doc) := Seq .empty,
107
- publishArtifact in (Compile , packageDoc) := false ).
108
- /* settings(
109
106
(inConfig(JavaDoc )(Defaults .configSettings) ++ (if (disableDocs) Nil else Seq (
110
107
packageDoc in Compile := (packageDoc in JavaDoc ).value,
111
108
sources in JavaDoc := {
@@ -119,7 +116,7 @@ lazy val root = (project in file(".")).
119
116
libraryDependencies += compilerPlugin(" com.typesafe.genjavadoc" % " genjavadoc-plugin" % " 0.11" cross CrossVersion .full),
120
117
scalacOptions in Compile += " -P:genjavadoc:out=" + (target.value / " java" )
121
118
))): _*
122
- ).*/
119
+ ).
123
120
settings(
124
121
initialCommands :=
125
122
""" |import scala.concurrent._
You can’t perform that action at this time.
0 commit comments