Skip to content

Commit

Permalink
developers and some flags were missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Oct 4, 2023
1 parent 28d691f commit d4f7d20
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ lazy val `play-doc` = (project in file("."))
homepage := Some(url(s"https://github.com/playframework/${Omnidoc.repoName}")),
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")),
crossScalaVersions := Seq("2.12.18", "2.13.12", "3.3.1"),
developers += Developer(
"playframework",
"The Play Framework Contributors",
"[email protected]",
url("https://github.com/playframework")
),
pomIncludeRepository := { _ => false },
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) =>
Expand All @@ -26,6 +33,7 @@ lazy val `play-doc` = (project in file("."))
"-Xlint:nullary-unit",
"-Ywarn-dead-code",
"-Xsource:3",
"-Xmigration",
)
case _ => Nil
}
Expand All @@ -44,11 +52,19 @@ javacOptions ++= Seq(
"11",
"-Xlint:deprecation",
"-Xlint:unchecked",
"-Xlint:-options",
"-encoding",
"UTF-8",
)

scalacOptions ++= Seq(
"-release",
"11",
"-deprecation",
"-feature",
"-unchecked",
"-encoding",
"utf8"
)

addCommandAlias(
Expand Down

0 comments on commit d4f7d20

Please sign in to comment.