-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (19 loc) · 866 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name := "TreeTable"
version in ThisBuild := "1.3.0-SNAPSHOT"
organization in ThisBuild := "de.sciss"
scalaVersion in ThisBuild := "2.10.2"
crossPaths := false
description in ThisBuild := "A TreeTable component for Swing"
homepage in ThisBuild <<= name { n => Some(url("https://github.com/Sciss/" + n)) }
licenses in ThisBuild <<= name { n => Seq("LGPL v2.1+" -> url("https://raw.github.com/Sciss/" + n + "/master/LICENSE")) }
// ---- publishing ----
publishMavenStyle in ThisBuild := true
publishTo in ThisBuild <<= version { v =>
Some(if (v endsWith "-SNAPSHOT")
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"Sonatype Releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)
}
publishArtifact in Test in ThisBuild := false
pomIncludeRepository in ThisBuild := { _ => false }