File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -115,20 +115,23 @@ lazy val core = crossProject(JVMPlatform, JSPlatform)
115
115
autoAPIMappings := true ,
116
116
buildInfoPackage := " scodec.bits" ,
117
117
buildInfoKeys := Seq [BuildInfoKey ](version, scalaVersion, gitHeadCommit),
118
+ publishArtifact in (Compile , packageDoc) := ! isDotty.value,
118
119
scalacOptions in (Compile , doc) := {
119
120
val tagOrBranch = {
120
121
if (version.value.endsWith(" SNAPSHOT" )) gitCurrentBranch.value
121
122
else (" v" + version.value)
122
123
}
123
- Seq (
124
- " -groups" ,
125
- " -implicits" ,
126
- " -implicits-show-all" ,
127
- " -sourcepath" ,
128
- new File (baseDirectory.value, " ../.." ).getCanonicalPath,
129
- " -doc-source-url" ,
130
- " https://github.com/scodec/scodec-bits/tree/" + tagOrBranch + " €{FILE_PATH}.scala"
131
- )
124
+ if (isDotty.value) Nil
125
+ else
126
+ Seq (
127
+ " -groups" ,
128
+ " -implicits" ,
129
+ " -implicits-show-all" ,
130
+ " -sourcepath" ,
131
+ new File (baseDirectory.value, " ../.." ).getCanonicalPath,
132
+ " -doc-source-url" ,
133
+ " https://github.com/scodec/scodec-bits/tree/" + tagOrBranch + " €{FILE_PATH}.scala"
134
+ )
132
135
},
133
136
scalacOptions in (Compile , console) ~= {
134
137
_.filterNot { o =>
You can’t perform that action at this time.
0 commit comments