mirror of
https://github.com/ij-plugins/ijp-imagej-launcher.git
synced 2024-11-13 16:29:01 -08:00
Add compiler warnings to help with the coding style
This commit is contained in:
parent
eb8b6a9a17
commit
f2bb93871f
1 changed files with 11 additions and 0 deletions
11
build.sbt
11
build.sbt
|
|
@ -21,6 +21,17 @@ libraryDependencies ++= Seq(
|
||||||
"org.scalatest" %%% "scalatest" % "3.2.16" % Test
|
"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")
|
Compile / run / mainClass := Some("ij_plugins.imagej_launcher.Main")
|
||||||
|
|
||||||
// import to add Scala Native options
|
// import to add Scala Native options
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue