This repository was archived by the owner on Sep 8, 2022. It is now read-only.
File tree 2 files changed +48
-1
lines changed
2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,49 @@ resourceGenerators in Compile <+= Def.task {
37
37
38
38
mappings in (Compile , packageBin) += {
39
39
(baseDirectory.value / " partest.properties" ) -> " partest.properties"
40
- }
40
+ }
41
+
42
+ publishTo := {
43
+ val nexus = " https://oss.sonatype.org/"
44
+ if (version.value.trim.endsWith(" SNAPSHOT" ))
45
+ Some (" snapshots" at nexus + " content/repositories/snapshots" )
46
+ else
47
+ Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
48
+ }
49
+
50
+ publishMavenStyle := true
51
+
52
+ publishArtifact in Test := false
53
+
54
+ pomIncludeRepository := { _ => false }
55
+
56
+ pomExtra := (
57
+ <url >http:// www.scala- lang.org/</ url>
58
+ <inceptionYear >2002 </inceptionYear >
59
+ <licenses >
60
+ <license >
61
+ <name >BSD - like</name >
62
+ <url >http:// www.scala- lang.org/ downloads/ license.html
63
+ </url >
64
+ <distribution >repo</distribution >
65
+ </license >
66
+ </licenses >
67
+ <scm >
68
+ <connection >scm: git: git:// github.com/ scala/ scala- partest.git</connection >
69
+ <url >https:// github.com/ scala/ scala- partest</url >
70
+ </scm >
71
+ <issueManagement >
72
+ <system >JIRA </system >
73
+ <url >https:// issues.scala- lang.org/</ url>
74
+ </issueManagement >
75
+ <developers >
76
+ <developer >
77
+ <id >lamp</id >
78
+ <name >EPFL LAMP </name >
79
+ </developer >
80
+ <developer >
81
+ <id >Typesafe </id >
82
+ <name >Typesafe , Inc .</name >
83
+ </developer >
84
+ </developers >
85
+ )
Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ resolvers += Classpaths.typesafeResolver
3
3
// addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.5")
4
4
5
5
addSbtPlugin(" com.typesafe.sbteclipse" % " sbteclipse-plugin" % " 2.2.0" )
6
+
7
+ addSbtPlugin(" com.typesafe.sbt" % " sbt-pgp" % " 0.8" )
You can’t perform that action at this time.
0 commit comments