From 9258e8c9ab3c307ff42741e99c23b16cbfaa85b4 Mon Sep 17 00:00:00 2001 From: Alfonso Roa Date: Sat, 7 Sep 2024 10:39:47 +0200 Subject: [PATCH] Avoid making an execution not used later. --- build.sbt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 4505924..e9dba36 100644 --- a/build.sbt +++ b/build.sbt @@ -31,9 +31,9 @@ credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials") Test / fork := true javaOptions ++= { - if (System.getProperty("java.version").startsWith("1.8.0")) - Seq("-Xms512M", "-Xmx2048M", "-XX:+CMSClassUnloadingEnabled", "-Duser.timezone=GMT") - else Seq("-Xms512M", "-Xmx2048M", "-Duser.timezone=GMT") + Seq("-Xms512M", "-Xmx2048M", "-Duser.timezone=GMT") ++ (if (System.getProperty("java.version").startsWith("1.8.0")) + Seq("-XX:+CMSClassUnloadingEnabled") + else Seq.empty) } licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))