forked from azakordonets/fabricator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
90 lines (61 loc) · 2.47 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
86
87
import sbt.Keys._
scalaVersion := "2.12.10"
crossScalaVersions := Seq("2.11.12", "2.12.10")
scalacOptions += "-target:jvm-1.8"
name := "fabricator"
version := "2.1.6"
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 "http://repo.typesafe.com/typesafe/simple/maven-releases/"
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "JCenter" at "http://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.6.0-RC2",
"org.testng" % "testng" % "6.9.4",
"org.scalatest" %% "scalatest" % "3.2.0-SNAP5" % "test",
"com.github.nscala-time" %% "nscala-time" % "2.16.0",
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.1",
"org.reflections" % "reflections" % "0.9.10",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"org.assertj" % "assertj-core" % "3.1.0",
"com.spatial4j" % "spatial4j" % "0.4.1",
"org.iban4j" % "iban4j" % "2.1.1",
"commons-validator" % "commons-validator" % "1.4.0",
"com.google.inject" % "guice" % "4.1.0",
"com.github.tototoshi" %% "scala-csv" % "1.3.4",
"com.google.zxing" % "core" % "3.2.0",
"io.github.lukehutch" % "fast-classpath-scanner" % "2.0.17"
)