-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import xerial.sbt.Sonatype._ | ||
|
||
name := "scala-test-metrics" | ||
organization := "io.agodadev" | ||
version := "0.1.0-SNAPSHOT" | ||
|
@@ -13,4 +15,29 @@ libraryDependencies ++= Seq( | |
"org.mockito" %% "mockito-scala-scalatest" % "1.17.12" % Test | ||
) | ||
|
||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-C", "io.agodadev.testmetricsscala.TestMetricsReporter") | ||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-C", "io.agodadev.testmetricsscala.TestMetricsReporter") | ||
|
||
// Maven Central publishing settings | ||
publishMavenStyle := true | ||
publishTo := sonatypePublishToBundle.value | ||
sonatypeProjectHosting := Some(GitHubHosting("agoda-com", "scala-test-metrics", "[email protected]")) | ||
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
homepage := Some(url("https://github.com/agoda-com/scala-test-metrics")) | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/agoda-com/scala-test-metrics"), | ||
"scm:[email protected]:agoda-com/scala-test-metrics.git" | ||
) | ||
) | ||
developers := List( | ||
Developer( | ||
id = "joeldickson", | ||
name = "Joel Dickson", | ||
email = "[email protected]", | ||
url = url("http://beerandserversdontmix.com") | ||
) | ||
) | ||
|
||
// PGP signing settings | ||
usePgpKeyHex("849F9D2E") | ||
pgpPassphrase := sys.env.get("GPG_PASSPHRASE").map(_.toArray) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
// Add these to your project/plugins.sbt if not already present | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7") |