-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
27 lines (23 loc) · 893 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
organization := "io.elfinos"
name := "fanuc-focas"
scalaVersion := "2.13.6"
crossScalaVersions := Seq("2.12.14", "2.13.6")
releaseCrossBuild := true
releaseUseGlobalVersion := false
githubOwner := "civilizeddev"
githubRepository := name.value
libraryDependencies ++= Seq(
"net.java.dev.jna" % "jna-platform" % "5.8.0",
"org.scala-lang" % "scala-reflect" % scalaVersion.value % Provided,
"org.scalameta" %% "munit" % "0.7.27" % Test,
)
scalafixOnCompile := true
semanticdbEnabled := true
semanticdbVersion := scalafixSemanticdb.revision
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x =>
val oldStrategy = (assembly / assemblyMergeStrategy).value
oldStrategy(x)
}