Skip to content

Commit

Permalink
Configuration for generating an assembly jar file
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-kriegel committed Apr 25, 2022
1 parent 0994bc8 commit e647165
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ThisBuild / scalaVersion := "3.1.1"

lazy val root = (project in file("."))
.settings(
name := "right-repairs-of-el-tboxes",
idePackagePrefix := Some("de.tu_dresden.inf.lat.repairs")
name := "right-repairs-of-el-tboxes"
// , idePackagePrefix := "de.tu_dresden.inf.lat.repairs"
)

resolvers +=
Expand All @@ -15,3 +15,14 @@ resolvers +=
libraryDependencies += "net.sourceforge.owlapi" % "owlapi-distribution" % "5.1.20"
libraryDependencies += "org.phenoscape" %% "scowl-owlapi5" % "1.4.1"
libraryDependencies += "org.semanticweb.elk" % "elk-owlapi5" % "0.5.0-SNAPSHOT"

ThisBuild / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.discard
case x if x.endsWith("/module-info.class") => MergeStrategy.discard
case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x)
}

Compile / mainClass := Some("de.tu_dresden.inf.lat.repairs.Main")
//assembly / mainClass := Some("de.tu_dresden.inf.lat.repairs.Main")
1 change: 1 addition & 0 deletions project/assembly.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.2.0")

0 comments on commit e647165

Please sign in to comment.