forked from cross-language-cpp/djinni-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
25 lines (18 loc) · 983 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import sbtassembly.AssemblyPlugin.defaultUniversalScript
ThisBuild / scalaVersion := "2.12.12"
ThisBuild / organization := "com.github.cross-language-cpp"
lazy val djinni = (project in file("."))
.configs(IntegrationTest)
.settings(
name := "djinni",
Defaults.itSettings,
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % "it",
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.2",
libraryDependencies += "org.yaml" % "snakeyaml" % "1.26",
libraryDependencies += "com.github.scopt" %% "scopt" % "3.7.1",
libraryDependencies += "commons-io" % "commons-io" % "2.8.0",
assemblyOutputPath in assembly := { file("target/bin") / (assemblyJarName in assembly).value },
assemblyJarName in assembly := s"${name.value}",
assemblyOption in assembly := (assemblyOption in assembly).value.copy(prependShellScript = Some(defaultUniversalScript(shebang = false))),
test in assembly := {}
)