forked from sakishum/gfc-logging
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
67 lines (51 loc) · 1.61 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
58
59
60
61
62
63
64
65
66
67
import scoverage.ScoverageKeys
name := "gfc-logging"
organization := "org.gfccollective"
scalaVersion := "2.12.20"
crossScalaVersions := Seq(scalaVersion.value, "2.13.12", "3.6.2")
javacOptions ++= Seq("-target", "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")
ScoverageKeys.coverageFailOnMinimum := true
ScoverageKeys.coverageMinimumStmtTotal := 52.0
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "2.0.16",
"org.slf4j" % "slf4j-simple" % "2.0.16" % Test,
"org.scalatest" %% "scalatest" % "3.2.18" % Test
)
publishMavenStyle := true
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
licenses := Seq("Apache-style" -> url("https://raw.githubusercontent.com/gfc-collective/gfc-logging/main/LICENSE"))
homepage := Some(url("https://github.com/gfc-collective/gfc-logging"))
pomExtra := (
<developers>
<developer>
<id>gheine</id>
<name>Gregor Heine</name>
<url>https://github.com/gheine</url>
</developer>
<developer>
<id>ebowman</id>
<name>Eric Bowman</name>
<url>https://github.com/ebowman</url>
</developer>
<developer>
<id>andreyk0</id>
<name>Andrey Kartashov</name>
<url>https://github.com/andreyk0</url>
</developer>
<developer>
<id>sullis</id>
<name>Sean C. Sullivan</name>
<url>https://github.com/sullis</url>
</developer>
</developers>
)