forked from phatak-dev/java-sizeof
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
58 lines (37 loc) · 1.33 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
name := "java-sizeof"
organization:="com.madhukaraphatak"
version:="0.1"
crossScalaVersions := Seq("2.10.0","2.11.0")
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.2" % "test"
pgpSecretRing := file("/home/madhu/scalapgpkeys/phatak-dev-privatekey.asc")
pgpPublicRing := file("/home/madhu/scalapgpkeys/phatak-dev-publickey.asc")
publishMavenStyle := true
publishArtifact in Test := false
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<url>https://github.com/phatak-dev/java-sizeof</url>
<licenses>
<license>
<name>Apache 2.0</name>
<url>https://github.com/phatak-dev/java-sizeof/blob/master/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:phatak-dev/java-sizeof.git</url>
<connection>scm:git:[email protected]:phatak-dev/java-sizeof.git</connection>
</scm>
<developers>
<developer>
<id>phatak-dev</id>
<name>Madhukara phatak</name>
<url>http://www.madhukaraphatak.com</url>
</developer>
</developers>)
credentials += Credentials(Path.userHome / ".sbt/0.13/" / ".credentials")