-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (37 loc) · 1.23 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
name := """datetime-generator"""
version := "0.2-SNAPSHOT"
scalaVersion := "2.11.7"
organization := "com.cogpp"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.2"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test"
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 }
pomExtra := (
<url>https://github.com/cogpp/datetime-generator</url>
<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<url>[email protected]:cogpp/datetime-generator.git</url>
<connection>scm:[email protected]:cogpp/datetime-generator.git</connection>
</scm>
<developers>
<developer>
<id>cogpp</id>
<name>Graeme Phillipson</name>
<url>http://cogpp.com</url>
</developer>
</developers>)