Skip to content

Commit 444e4af

Browse files
committed
Merge branch 'feature-init'
2 parents a201792 + b8518fe commit 444e4af

File tree

8 files changed

+1206
-0
lines changed

8 files changed

+1206
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
*.class
22
*.log
3+
.idea/
4+
target/

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
# scalatestplus-easymock
22
ScalaTest + EasyMock provides integration support between ScalaTest and EasyMock.
3+
4+
**Publishing**
5+
6+
Please use the following commands to publish to Sonatype:
7+
8+
```
9+
$ sbt +publishSigned
10+
```

build.sbt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name := "scalatestplus-easymock"
2+
3+
organization := "org.scalatestplus"
4+
5+
version := "1.0.0-SNAP1"
6+
7+
homepage := Some(url("https://github.com/scalatest/scalatestplus-easymock"))
8+
9+
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
10+
11+
developers := List(
12+
Developer(
13+
"bvenners",
14+
"Bill Venners",
15+
16+
url("https://github.com/bvenners")
17+
),
18+
Developer(
19+
"cheeseng",
20+
"Chua Chee Seng",
21+
22+
url("https://github.com/cheeseng")
23+
)
24+
)
25+
26+
crossScalaVersions := List("2.10.7", "2.11.12", "2.12.8", "2.13.0-M5")
27+
28+
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
29+
30+
libraryDependencies ++= Seq(
31+
"org.easymock" % "easymockclassextension" % "3.2",
32+
"org.scalatest" %% "scalatest" % "3.1.0-SNAP8"
33+
)
34+
35+
enablePlugins(SbtOsgi)
36+
37+
osgiSettings
38+
39+
OsgiKeys.exportPackage := Seq(
40+
"org.scalatestplus.easymock.*"
41+
)
42+
43+
OsgiKeys.importPackage := Seq(
44+
"org.scalatest.*",
45+
"org.scalactic.*",
46+
"scala.*;version=\"$<range;[==,=+);$<replace;"+scalaBinaryVersion.value+";-;.>>\"",
47+
"*;resolution:=optional"
48+
)
49+
50+
OsgiKeys.additionalHeaders:= Map(
51+
"Bundle-Name" -> "ScalaTestPlusEasyMock",
52+
"Bundle-Description" -> "ScalaTest+EasyMock is an open-source integration library between ScalaTest and EasyMock for Scala projects.",
53+
"Bundle-DocURL" -> "http://www.scalatest.org/",
54+
"Bundle-Vendor" -> "Artima, Inc."
55+
)
56+
57+
publishTo := {
58+
val nexus = "https://oss.sonatype.org/"
59+
Some("publish-releases" at nexus + "service/local/staging/deploy/maven2")
60+
}
61+
62+
publishMavenStyle := true
63+
64+
publishArtifact in Test := false
65+
66+
pomIncludeRepository := { _ => false }
67+
68+
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
69+
70+
pgpSecretRing := file((Path.userHome / ".gnupg" / "secring.gpg").getAbsolutePath)
71+
72+
pgpPassphrase := None

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.2.8

project/plugins.sbt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
2+
3+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.2.2")
4+
5+
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.4")

0 commit comments

Comments
 (0)