-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.sbt
88 lines (60 loc) · 2.43 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import sbt.Keys._
scalaVersion := "2.13.5"
crossScalaVersions := Seq("2.12.10", "2.13.5")
scalacOptions += "-target:jvm-1.8"
name := "fabricator"
version := "2.1.9"
organization := "com.github.azakordonets"
licenses +=("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("https://github.com/azakordonets/fabricator"))
organizationHomepage := Some(url("https://biercoff.com"))
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.props.getOrElse("SONATYPE_USERNAME", default = "biercoff"),
sys.props.getOrElse("SONATYPE_PASSWORD", default = "not_found"))
publishArtifact in Test := false
pomIncludeRepository := { _ => false}
unmanagedResourceDirectories in Compile += {
baseDirectory.value / "src/main/resources"
}
fork in Test := true
pomExtra :=
<developers>
<developer>
<id>azakordonets</id>
<name>Andrew Zakordonets</name>
<url>http://biercoff.com</url>
</developer>
</developers>
coverageMinimum := 70
coverageFailOnMinimum := true
resolvers += "Typesafe Simple Repository" at "https://repo.typesafe.com/typesafe/simple/maven-releases/"
resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
resolvers += "JCenter" at "https://dl.bintray.com/"
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
resolvers += Classpaths.sbtPluginReleases
resolvers += Resolver.typesafeRepo("releases")
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.10.0-RC2",
"org.scalatestplus" %% "testng-6-7" % "3.2.5.0" % "test",
"com.github.nscala-time" %% "nscala-time" % "2.26.0",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"org.reflections" % "reflections" % "0.9.12",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.assertj" % "assertj-core" % "3.19.0",
"com.spatial4j" % "spatial4j" % "0.5",
"org.iban4j" % "iban4j" % "3.2.2-RELEASE",
"commons-validator" % "commons-validator" % "1.7",
"com.google.inject" % "guice" % "5.0.1",
"com.github.tototoshi" %% "scala-csv" % "1.3.7",
"com.google.zxing" % "core" % "3.4.1",
"io.github.classgraph" % "classgraph" % "4.8.102"
)