1
1
name := " scala-ssh"
2
2
3
- version := " 0.6.2 "
3
+ version := " 0.6.3-SNAPSHOT "
4
4
5
5
organization := " com.decodified"
6
6
@@ -16,14 +16,19 @@ licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.
16
16
17
17
scalaVersion := " 2.9.2"
18
18
19
- scalacOptions := Seq (" -deprecation" , " -encoding" , " utf8" )
19
+ scalacOptions <<= scalaVersion map {
20
+ case x if x startsWith " 2.9" =>
21
+ Seq (" -unchecked" , " -deprecation" , " -encoding" , " utf8" )
22
+ case x if x startsWith " 2.10" =>
23
+ Seq (" -feature" , " -language:implicitConversions" , " -unchecked" , " -deprecation" , " -encoding" , " utf8" )
24
+ }
20
25
21
26
libraryDependencies ++= Seq (
22
- " net.schmizz" % " sshj" % " 0.8.0 " ,
23
- " org.slf4j" % " slf4j-api" % " 1.6.4 " ,
27
+ " net.schmizz" % " sshj" % " 0.8.1 " ,
28
+ " org.slf4j" % " slf4j-api" % " 1.7.2 " ,
24
29
" org.bouncycastle" % " bcprov-jdk16" % " 1.46" % " provided" ,
25
30
" com.jcraft" % " jzlib" % " 1.1.1" % " provided" ,
26
- " org.specs2" %% " specs2" % " 1.10 " % " test" ,
31
+ " org.specs2" %% " specs2" % " 1.12.2 " % " test" ,
27
32
" ch.qos.logback" % " logback-classic" % " 1.0.3" % " test"
28
33
)
29
34
@@ -32,16 +37,16 @@ libraryDependencies ++= Seq(
32
37
// publishing
33
38
// /////////////
34
39
35
- credentials += Credentials ( Path .userHome / " .ivy2 " / " .credentials " )
40
+ crossScalaVersions := Seq ( " 2.9.2 " , " 2.10.0-RC1 " )
36
41
37
- publishMavenStyle := true
42
+ scalaBinaryVersion <<= scalaVersion(sV => if ( CrossVersion .isStable(sV)) CrossVersion .binaryScalaVersion(sV) else sV)
38
43
39
- crossPaths := false
44
+ publishMavenStyle := true
40
45
41
46
publishTo <<= version { version =>
42
47
Some {
43
- " spray nexus " at {
44
- // public uri is repo.spray.cc , we use an SSH tunnel to the nexus here
48
+ " spray repo " at {
49
+ // public uri is repo.spray.io , we use an SSH tunnel to the nexus here
45
50
" http://localhost:42424/content/repositories/" + {
46
51
if (version.trim.endsWith(" SNAPSHOT" )) " snapshots/" else " releases/ "
47
52
}
@@ -60,4 +65,4 @@ seq(lsSettings:_*)
60
65
61
66
(LsKeys .docsUrl in LsKeys .lsync) := Some (new URL (" https://github.com/sirthias/scala-ssh/" ))
62
67
63
- (externalResolvers in LsKeys .lsync) := Seq (" spray repo" at " http://repo.spray.cc " )
68
+ (externalResolvers in LsKeys .lsync) := Seq (" spray repo" at " http://repo.spray.io " )
0 commit comments