Skip to content

Commit

Permalink
fixup to javadoc error:
Browse files Browse the repository at this point in the history
compiler message file broken: key=javadoc.err.msg arguments=javadoc, invalid flag: -Xlint:deprecation
for module with java only sources (flinkMetricsDeferredReporter)
  • Loading branch information
raphaelsolarski committed Aug 28, 2024
1 parent 0c70b0e commit 1ccc57a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ lazy val commonSettings =
publishSettings ++
Seq(
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
crossScalaVersions := supportedScalaVersions,
scalaVersion := defaultScalaV,
crossScalaVersions := supportedScalaVersions,
scalaVersion := defaultScalaV,
resolvers ++= Seq(
"confluent" at "https://packages.confluent.io/maven",
),
Expand All @@ -182,7 +182,7 @@ lazy val commonSettings =
case (2, 12) => Seq(compilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full))
case _ => Seq()
},
scalacOptions := Seq(
scalacOptions := Seq(
"-unchecked",
"-deprecation",
"-encoding",
Expand All @@ -207,7 +207,7 @@ lazy val commonSettings =
"-Ymacro-annotations"
)
},
javacOptions := Seq(
Compile / compile / javacOptions := Seq(
"-Xlint:deprecation",
"-Xlint:unchecked",
// Using --release flag (available only on jdk >= 9) instead of -source -target to avoid usage of api from newer java version
Expand Down

0 comments on commit 1ccc57a

Please sign in to comment.