27
將以下設置添加到Play 2.2.x應用的構建定義 不會禁用Scaladoc生成。它如何被禁用?如何在Play 2.2.x中禁用ScalaDoc生成dist任務(使用project/build.scala)?
play.Project(appName, appVersion, appDependencies)
.settings(scalaVersion := "2.10.3")
.settings(jsSettings : _*)
.settings(
publishArtifact in (Compile, packageDoc) := false,
publishArtifact in packageDoc := false
)
這似乎阻止爲我創建文檔JAR:'設置(publishArtifact in(Compile,packageDoc):= false)',對於源代碼'packageSrc'也是如此。 –
Play for 2.3.2:https://github.com/guardian/gu-who/commit/340d42acdef8f0b1a085026d9fb5276976ac0607 –