1
1
name := " scala-ssh"
2
2
3
+ version := " 0.5.0-SNAPSHOT"
4
+
3
5
organization := " com.decodified"
4
6
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" ))
6
16
7
17
scalaVersion := " 2.9.1"
8
18
19
+ scalacOptions := Seq (" -deprecation" , " -encoding" , " utf8" )
20
+
9
21
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 " ,
12
24
" org.bouncycastle" % " bcprov-jdk16" % " 1.46" % " provided" ,
13
25
" 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"
16
28
)
17
29
18
30
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" )
0 commit comments