-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
57 lines (36 loc) · 1.36 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
enablePlugins(Sonatype)
// import scoverage.ScoverageKeys
name := "scala-hello-world-app"
organization := "io.github.sullis"
scalaVersion := "3.5.1"
crossScalaVersions := Seq(scalaVersion.value)
scalacOptions += "-target:jvm-1.8"
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) =>
Seq("-source:3.0-migration", "-explain", "-explain-types")
case _ =>
Nil
}
}
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
val logbackVersion = "1.5.15"
libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"ch.qos.logback" % "logback-classic" % logbackVersion,
"ch.qos.logback" % "logback-core" % logbackVersion,
"com.google.guava" % "guava" % "32.1.2-jre",
"org.scalatestplus" %% "mockito-5-12" % "3.2.19.0" % Test,
"org.scalatest" %% "scalatest" % "3.2.19" % Test
)
updateOptions := updateOptions.value.withGigahorse(false)
useGpg := true
releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
publishMavenStyle := true
publishTo := sonatypePublishTo.value
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
// ScoverageKeys.coverageMinimum := 85.0
// ScoverageKeys.coverageFailOnMinimum := true