Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
prepare to publish to community repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoles committed Sep 4, 2013
1 parent 811846e commit 656473d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,19 @@ name := "sbt-pit"

organization := "org.pitest.sbt"

version := "0.1"
version := "0.2-SNAPSHOT"

resolvers += "Local Maven" at Path.userHome.asFile.toURI.toURL + ".m2/repository"

libraryDependencies += "org.pitest" % "pitest" % "0.31-SNAPSHOT"
libraryDependencies += "org.pitest" % "pitest" % "0.31"

publishTo <<= (version) { version: String =>
val scalasbt = "http://repo.scala-sbt.org/scalasbt/"
val (name, url) = if (version.contains("-SNAPSHOT"))
("sbt-plugin-snapshots", scalasbt+"sbt-plugin-snapshots")
else
("sbt-plugin-releases", scalasbt+"sbt-plugin-releases")
Some(Resolver.url(name, new URL(url))(Resolver.ivyStylePatterns))
}

publishMavenStyle := false
1 change: 1 addition & 0 deletions plugins/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8")
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8")

0 comments on commit 656473d

Please sign in to comment.