-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpublish.sbt
34 lines (30 loc) · 935 Bytes
/
publish.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
publishMavenStyle := true
pomIncludeRepository := { _ => false }
publishArtifact in Test := 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")
}
pomExtra := (
<url>https://github.com/danielkorzekwa/bayes-scala</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:danielkorzekwa/bayes-scala.git</url>
<connection>scm:git:[email protected]:danielkorzekwa/bayes-scala.git</connection>
</scm>
<developers>
<developer>
<id>danielkorzekwa</id>
<name>Daniel Korzekwa</name>
<url>https://github.com/danielkorzekwa</url>
</developer>
</developers>)