Skip to content

Commit

Permalink
Fix consecutive analysis runs failing in one sbt session
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin.lesage committed Apr 12, 2024
1 parent ca35398 commit 8a1418e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ val scopt = "com.github.scopt" %% "scopt" % "4.1.0"
val scalactic = "org.scalactic" %% "scalactic" % "3.2.15"
val scalatest = "org.scalatest" %% "scalatest" % "3.2.15" % "test"
val scalaplus = "org.scalatestplus" %% "scalacheck-1-15" % "3.2.11.0" % "test"

lazy val modelCode = taskKey[Seq[(String,File)]]("files to be embedded in docker")

lazy val dockerProxySetting = (
Expand Down Expand Up @@ -123,3 +122,9 @@ lazy val PMLAnalyzer = (project in file("."))
.settings(
name := "pml_analyzer")


// Fork a new JVM on every sbt run task
// Fixes an issue with the classloader complaining that the Monosat library is
// "already loaded in another classloader" on successive runs of the analysis
// in the same sbt instance.
fork := true

0 comments on commit 8a1418e

Please sign in to comment.