From cc0c9201ca581dfe3f8cb1678547bda946145ca3 Mon Sep 17 00:00:00 2001 From: RobinM-code Date: Wed, 25 Feb 2026 11:22:37 +0100 Subject: [PATCH] Add "-Wunused:imports" This flag shows warnings for unused imports. Very usefull when working in vs-code with the metals plugin. --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 7106f870..3924f201 100644 --- a/build.sbt +++ b/build.sbt @@ -7,7 +7,7 @@ organization := "io.opentargets" version := "latest" -scalacOptions ++= Seq("-feature", "-explain") +scalacOptions ++= Seq("-feature", "-explain", "-Wunused:imports") lazy val root = (project in file(".")).enablePlugins(PlayScala, PlayLogback)