File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1+
12name := " java-sizeof"
23
34organization:= " com.madhu"
@@ -6,6 +7,50 @@ crossScalaVersions := Seq("2.10.0","2.11.0")
67
78libraryDependencies += " org.scalatest" %% " scalatest" % " 2.2.2" % " test"
89
10+ pgpSecretRing := file(" /home/madhu/scalapgpkeys/phatak-dev-privatekey.asc" )
11+
12+ pgpPublicRing := file(" /home/madhu/scalapgpkeys/phatak-dev-publickey.asc" )
13+
14+ publishMavenStyle := true
15+
16+ publishArtifact in Test := false
17+
18+
19+ publishTo <<= version { (v : String ) =>
20+ val nexus = " https://oss.sonatype.org/"
21+ if (v.trim.endsWith(" SNAPSHOT" ))
22+ Some (" snapshots" at nexus + " content/repositories/snapshots" )
23+ else
24+ Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
25+ }
26+
27+ pomExtra := (
28+ <url >https:// github.com/ phatak- dev/ java- sizeof</url >
29+ <licenses >
30+ <license >
31+ <name >Apache 2.0 </name >
32+ <url >https:// github.com/ phatak- dev/ java- sizeof/ blob/ master/ LICENSE .txt</url >
33+ <distribution >repo</distribution >
34+ </license >
35+ </licenses >
36+ <scm >
37+ <url >git@ github.com: phatak- dev/ java- sizeof.git</url >
38+ <connection >scm: git: git@ github.com: phatak- dev/ java- sizeof.git</connection >
39+ </scm >
40+ <developers >
41+ <developer >
42+ <id >phatak- dev</id >
43+ <name >Madhukara phatak</name >
44+ <url >http:// www.madhukaraphatak.com</url >
45+ </developer >
46+ </developers >)
47+
48+
49+ credentials += Credentials (Path .userHome / " .sbt/0.13/" / " .credentials" )
50+
51+
52+
53+
954
1055
1156
Original file line number Diff line number Diff line change 22// addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.5")
33
44// For making releases
5- // addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.6")
5+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.0.0" )
6+
67
78// For signing releases
89// addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.7")
You can’t perform that action at this time.
0 commit comments