11name := " scala-ssh"
22
3+ version := " 0.5.0"
4+
35organization := " com.decodified"
46
5- version := " 0.5.0-SNAPSHOT"
7+ organizationHomepage := Some (new URL (" http://decodified.com" ))
8+
9+ description := " A Scala library providing remote shell access via SSH"
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
717scalaVersion := " 2.9.1"
818
19+ scalacOptions := Seq (" -deprecation" , " -encoding" , " utf8" )
20+
921libraryDependencies ++= 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
1830resolvers ++= 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+ )
33+
34+
35+ // /////////////
36+ // publishing
37+ // /////////////
38+
39+ credentials += Credentials (Path .userHome / " .ivy2" / " .credentials" )
40+
41+ publishMavenStyle := true
42+
43+ publishTo <<= version { version =>
44+ Some {
45+ " spray nexus" at {
46+ // public uri is repo.spray.cc, we use an SSH tunnel to the nexus here
47+ " http://localhost:42424/content/repositories/" + {
48+ if (version.trim.endsWith(" SNAPSHOT" )) " snapshots/" else " releases/ "
49+ }
50+ }
51+ }
52+ }
53+
54+
55+ // /////////////
56+ // ls-sbt
57+ // /////////////
58+
59+ seq(lsSettings:_* )
60+
61+ (LsKeys .tags in LsKeys .lsync) := Seq (" ssh" )
62+
63+ (LsKeys .docsUrl in LsKeys .lsync) := Some (new URL (" https://github.com/sirthias/scala-ssh/" ))
64+
65+ (externalResolvers in LsKeys .lsync) := Seq (" spray repo" at " http://repo.spray.cc" )
0 commit comments