forked from azakordonets/fabricator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
97 lines (65 loc) · 2.66 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
88
89
90
91
92
93
import sbt.Keys._
import scoverage.ScoverageSbtPlugin.ScoverageKeys
crossScalaVersions := Seq("2.10.4", "2.11.4")
scalacOptions += "-target:jvm-1.7"
name := "fabricator"
version := "2.1.2"
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false}
unmanagedResourceDirectories in Compile += {
baseDirectory.value / "src/main/resources"
}
pomExtra := <scm>
<url>[email protected]:azakordonets/fabricator.git</url>
<connection>scm:git:[email protected]:azakordonets/fabricator.git</connection>
</scm>
<developers>
<developer>
<id>azakordonets</id>
<name>Andrew Zakordonets</name>
<url>http://biercoff.com</url>
</developer>
</developers>
ScoverageKeys.coverageMinimum := 90
ScoverageKeys.coverageFailOnMinimum := true
ScoverageKeys.coverageHighlighting := {
if (scalaBinaryVersion.value == "2.10") true else false
}
Seq(bintrayPublishSettings:_*)
bintray.Keys.repository in bintray.Keys.bintray := "Fabricator"
bintray.Keys.bintrayOrganization in bintray.Keys.bintray := None
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.4.0-M2",
"org.testng" % "testng" % "6.9.4",
"org.scalatest" %% "scalatest" % "3.0.0-SNAP4" % "test",
"com.github.nscala-time" %% "nscala-time" % "1.2.0",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.slf4j" % "slf4j-api" % "1.7.1",
"org.reflections" % "reflections" % "0.9.10",
"ch.qos.logback" % "logback-classic" % "1.0.3",
"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" % "3.0",
"com.github.tototoshi" % "scala-csv_2.10" % "1.1.2",
"com.google.zxing" % "core" % "3.2.0"
)