|
| 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 |
0 commit comments