2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Play FrameworkのdistでAPIドキュメントを含めないようにする方法

Posted at

公式ドキュメントに書いてあった内容をバージョンごとにまとめました。

バージョンごとの設定

2.5.x

build.sbtに以下の内容を追記すればよいそうです。

build.sbt
sources in (Compile, doc) := Seq.empty

publishArtifact in (Compile, packageDoc) := false

2.4.x

build.sbtに以下の内容を追記すればよいそうです。

build.sbt
sources in (Compile, doc) := Seq.empty

publishArtifact in (Compile, packageDoc) := false

2.3.x

build.sbtに以下の内容を追記すればよいそうです。

build.sbt
doc in Compile <<= target.map(_ / "none")

2.2.x 以前

2.2.x以前は公式ドキュメントには記載されていないようでした。

distタスクについて

distタスクの実体

$ play universal:package-bin

あるいは

$ activator universal:packageBin

SBT Native Packager plugin

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?