Skip to content

Commit 6eeb949

Browse files
committed
Publishing settings
1 parent 3afe817 commit 6eeb949

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

project/Build.scala

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,23 @@ object GeoScript extends Build {
1010
version := "0.8.0",
1111
gtVersion := "8.0-RC1",
1212
scalaVersion := "2.9.1",
13-
scalacOptions ++= Seq("-deprecation", "-Xlint", "-unchecked")
13+
scalacOptions ++= Seq("-deprecation", "-Xlint", "-unchecked"),
14+
publishTo := Some(Resolver.sftp("opengeo-publish",
15+
Some("repo.opengeo.org"),
16+
Some(7777),
17+
None))
1418
)
1519

1620
val common =
21+
defaultSettings ++
22+
meta ++
1723
Seq[Setting[_]](
1824
fork := true,
1925
resolvers ++= Seq(
2026
"opengeo" at "http://repo.opengeo.org/",
2127
"osgeo" at "http://download.osgeo.org/webdav/geotools/"
2228
)
23-
) ++ meta ++ defaultSettings
29+
)
2430

2531
val sphinxSettings =
2632
Seq(
@@ -35,7 +41,7 @@ object GeoScript extends Build {
3541
)
3642

3743
lazy val root =
38-
Project("root", file(".")) aggregate(css, /*docs,*/ examples, library)
44+
Project("root", file("."), settings = common :+ (publishArtifact := false)) aggregate(css, /*docs,*/ examples, library)
3945
lazy val css =
4046
Project("css", file("geocss"), settings = common)
4147
lazy val examples =

0 commit comments

Comments
 (0)