-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
33 lines (30 loc) · 1.22 KB
/
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
28
29
30
31
32
33
import sbt._
import sbtassembly.AssemblyPlugin.autoImport._
import sbt.Keys._
import Dependencies._
ThisBuild / version := "0.0.1"
ThisBuild / scalaVersion := "3.2.0"
lazy val root = (project in file("."))
.enablePlugins(BuildInfoPlugin, JavaAppPackaging, AssemblyPlugin)
.settings(
name := "get37",
libraryDependencies ++= serviceDependencies,
resolvers ++= projectResolvers,
assembly / mainClass := Some("com.pinkstack.get37.Get37App"),
assembly / assemblyJarName := "get37.jar",
assembly / assemblyMergeStrategy := {
case "META-INF/io.netty.versions.properties" => MergeStrategy.last
case "module-info.class" => MergeStrategy.first
case x => (assembly / assemblyMergeStrategy).value(x)
},
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "com.pinkstack.get37",
scalacOptions ++= Seq(
"-encoding",
"utf8",
"-feature",
"-language:implicitConversions",
"-language:higherKinds"
)
)