From f2bb93871fafe4f6b3c0d515cfa9224b3ac6f08b Mon Sep 17 00:00:00 2001 From: Jarek Sacha Date: Wed, 7 Jun 2023 18:30:38 -0400 Subject: [PATCH] Add compiler warnings to help with the coding style --- build.sbt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.sbt b/build.sbt index 6c6313b..838ed5e 100644 --- a/build.sbt +++ b/build.sbt @@ -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