From 448138b82661655a28d0d0cebf42c3fa57195336 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 4 Sep 2024 19:28:01 +0200 Subject: [PATCH] Build uberjar using sbt-assembly --- build.sbt | 6 +++--- project/plugins.sbt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 project/plugins.sbt diff --git a/build.sbt b/build.sbt index d3e4c4d..4a576a7 100644 --- a/build.sbt +++ b/build.sbt @@ -1,10 +1,10 @@ -val scala3Version = "3.5.0" - lazy val root = project .in(file(".")) .settings( + organization := "de.plugh", name := "asciiprooftree", version := "0.0.0", - scalaVersion := scala3Version, + scalaVersion := "3.5.0", libraryDependencies += "org.rogach" %% "scallop" % "5.1.0", + assembly / assemblyJarName := s"${name.value}.jar", ) diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..e5ab6cc --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0")