diff --git a/montecarlo_archery/build.sbt b/montecarlo_archery/build.sbt index e8b24a2..d84f14e 100644 --- a/montecarlo_archery/build.sbt +++ b/montecarlo_archery/build.sbt @@ -3,12 +3,18 @@ val scala3Version = "3.2.0" lazy val root = project .in(file(".")) .settings( - name := "montecarlo_archery", - version := "0.1.0-SNAPSHOT", + name := "montecarlo_archery", + mainClass := Some("view.StartView"), + version := "0.1.0-SNAPSHOT", scalaVersion := scala3Version, libraryDependencies ++= Seq( - "org.scalameta" %% "munit" % "0.7.29" % Test, - "org.scalanlp" %% "breeze" % "2.1.0", + "org.scalameta" %% "munit" % "0.7.29" % Test, + "org.scalanlp" %% "breeze" % "2.1.0", "org.scalafx" %% "scalafx" % "18.0.2-R29" - ) + ), + fork := true, + assemblyMergeStrategy in assembly := { + case PathList("META-INF", _*) => MergeStrategy.discard + case _ => MergeStrategy.first + } ) diff --git a/montecarlo_archery/project/plugins.sbt b/montecarlo_archery/project/plugins.sbt new file mode 100644 index 0000000..72477a2 --- /dev/null +++ b/montecarlo_archery/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")