Add compiler warnings to help with the coding style

This commit is contained in:
Jarek Sacha 2023-06-07 18:30:38 -04:00
parent eb8b6a9a17
commit f2bb93871f
No known key found for this signature in database
GPG key ID: F29625CE62288163

View file

@ -21,6 +21,17 @@ libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest" % "3.2.16" % Test
)
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-explain",
"-explain-types",
"-rewrite",
"-source:3.3-migration",
"-Wvalue-discard",
"-Wunused:all"
)
Compile / run / mainClass := Some("ij_plugins.imagej_launcher.Main")
// import to add Scala Native options