Permalink
Browse files

publish to the Typesafe SBT community plugin repository

  • Loading branch information...
1 parent 0e0aae8 commit df0defc0a53e5e5b539b69f108c7a05e7bba43c0 @retronym committed Jan 17, 2012
Showing with 9 additions and 9 deletions.
  1. +6 −3 README.md
  2. +1 −1 project/build.properties
  3. +2 −5 project/build.scala
View
@@ -2,12 +2,15 @@
### Usage
-Depend on the plugin: `./project/plugins/build.sbt`. Requires SBT 0.11.0 or 0.11.1 or higher.
+Depend on the plugin: `./project/plugins/build.sbt`. Requires SBT 0.11.2 or higher.
```
-resolvers += "retronym" at "http://retronym.github.com/repo/releases"
+resolvers += Resolver.url(
+ "sbt-plugin-releases",
+ new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/")
+)(Resolver.ivyStylePatterns)
-addSbtPlugin("com.github.retronym" % "sbt-xjc" % "0.5")
+addSbtPlugin("com.github.retronym" % "sbt-xjc" % "0.5")
```
### Introduce Settings
View
@@ -1 +1 @@
-sbt.version=0.11.1
+sbt.version=0.11.2
View
@@ -9,11 +9,8 @@ object build extends Build {
organization := "com.github.retronym",
version := "0.6-SNAPSHOT",
sbtPlugin := true,
- publishTo <<= (version) { (v: String) =>
- val repoSuffix = if (v.contains("-SNAPSHOT")) "snapshots" else "releases"
- val resolver = Resolver.file("gh-pages", new File("/Users/jason/code/retronym.github.com/repo", repoSuffix))
- Some(resolver)
- }
+ publishTo := Some(Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)),
+ publishMavenStyle := false
)
)
}

0 comments on commit df0defc

Please sign in to comment.