Skip to content

Commit

Permalink
bump to 0.0.2, default scala 2.11.8, sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson committed Aug 12, 2017
1 parent c7285a6 commit f9f664a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
41 changes: 37 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,14 +1,49 @@
name := "isarn-scalatest"

organization := "org.isarnproject"

bintrayOrganization := Some("isarn")

version := "0.0.1"
version := "0.0.2"

scalaVersion := "2.10.6"
scalaVersion := "2.11.8"

crossScalaVersions := Seq("2.10.6", "2.11.8")

useGpg := true

pomIncludeRepository := { _ => false }

publishMavenStyle := true

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))

homepage := Some(url("http://example.com"))

scmInfo := Some(
ScmInfo(
url("https://github.com/isarn/isarn-scalatest"),
"scm:git@github.com:isarn/isarn-scalatest.git"
)
)

developers := List(
Developer(
id = "erikerlandson",
name = "Erik Erlandson",
email = "eje@redhat.com",
url = url("https://erikerlandson.github.io/")
)
)

def commonSettings = Seq(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4"
Expand All @@ -17,8 +52,6 @@ def commonSettings = Seq(

seq(commonSettings:_*)

licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))

scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")

scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/root-doc.txt")
Expand Down
4 changes: 4 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4")

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.6.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.1")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")

// scoverage and coveralls deps are at old versions to avoid a bug in the current versions
// update these when this fix is released: https://github.com/scoverage/sbt-coveralls/issues/73
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.4")
Expand Down

0 comments on commit f9f664a

Please sign in to comment.