Skip to content

Commit b51ac54

Browse files
committed
Upgrade dependencies, add ls bits
1 parent 8b9e28d commit b51ac54

File tree

3 files changed

+61
-9
lines changed

3 files changed

+61
-9
lines changed

build.sbt

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,67 @@
11
name := "scala-ssh"
22

3+
version := "0.5.0-SNAPSHOT"
4+
35
organization := "com.decodified"
46

5-
version := "0.5.0-SNAPSHOT"
7+
organizationHomepage := Some(new URL("http://decodified.com"))
8+
9+
description := "A Scala library for easy and idiomatic JSON (de)serialization"
10+
11+
homepage := Some(new URL("https://github.com/sirthias/scala-ssh"))
12+
13+
startYear := Some(2011)
14+
15+
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
616

717
scalaVersion := "2.9.1"
818

19+
scalacOptions := Seq("-deprecation", "-encoding", "utf8")
20+
921
libraryDependencies ++= Seq(
10-
"net.schmizz" % "sshj" % "0.6.1",
11-
"org.slf4j" % "slf4j-api" % "1.6.1",
22+
"net.schmizz" % "sshj" % "0.7.0",
23+
"org.slf4j" % "slf4j-api" % "1.6.4",
1224
"org.bouncycastle" % "bcprov-jdk16" % "1.46" % "provided",
1325
"com.jcraft" % "jzlib" % "1.0.7" % "provided",
14-
"org.specs2" %% "specs2" % "1.6.1" % "test",
15-
"ch.qos.logback" % "logback-classic" % "0.9.29" % "test"
26+
"org.specs2" %% "specs2" % "1.7.1" % "test",
27+
"ch.qos.logback" % "logback-classic" % "1.0.0" % "test"
1628
)
1729

1830
resolvers ++= Seq(
19-
"Akka Repository" at "http://akka.io/repository/",
20-
"Jsch Reposiroty" at "http://jsch.sourceforge.net/maven2/"
21-
)
31+
"Akka repo" at "http://akka.io/repository/",
32+
"spray repo" at "http://repo.spray.cc/"
33+
)
34+
35+
36+
///////////////
37+
// publishing
38+
///////////////
39+
40+
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
41+
42+
publishMavenStyle := true
43+
44+
publishTo <<= version { version =>
45+
Some {
46+
"spray repo" at {
47+
// public uri is repo.spray.cc, we use an SSH tunnel to the nexus here
48+
"http://localhost:42424/content/repositories/" + {
49+
if (version.trim.endsWith("SNAPSHOT")) "snapshots/" else"releases/"
50+
}
51+
}
52+
}
53+
}
54+
55+
56+
///////////////
57+
// ls-sbt
58+
///////////////
59+
60+
61+
seq(lsSettings:_*)
62+
63+
(LsKeys.tags in LsKeys.lsync) := Seq("json")
64+
65+
(LsKeys.docsUrl in LsKeys.lsync) := Some(new URL("http://spray.github.com/spray/api/spray-json/"))
66+
67+
(externalResolvers in LsKeys.lsync) := Seq("spray repo" at "http://repo.spray.cc")

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.11.0
1+
sbt.version=0.11.2

project/plugins.sbt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
2+
3+
resolvers ++= Seq(
4+
"less is" at "http://repo.lessis.me",
5+
"coda" at "http://repo.codahale.com"
6+
)

0 commit comments

Comments
 (0)