forked from ymasory/OrangeExtensions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
66 lines (50 loc) · 1.48 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name := "orange-extensions"
organization := "com.yuvimasory"
version := "1.6.0-SNAPSHOT"
description := "A pluggable jar containing stubs for the Apple Java Extensions, updated for Java 5 & 6"
javacOptions ++= Seq(
"-source", "1.5",
"-target", "1.5",
"-Xlint:unchecked",
"-Xlint:deprecation"
)
javacOptions in doc := Seq()
/* sbt behavior */
logLevel in compile := Level.Warn
traceLevel := 5
crossPaths := false
autoScalaLibrary := false
/* publishing */
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) Some(
"snapshots" at nexus + "content/repositories/snapshots"
)
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
// publishArtifact in (Compile, packageDoc) := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://ymasory.github.com/OrangeExtensions/</url>
<licenses>
<license>
<name>BSD</name>
<url>https://github.com/ymasory/OrangeExtensions/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:ymasory/OrangeExtensions.git</url>
<connection>scm:git:[email protected]/ymasory/OrangeExtensions.git</connection>
</scm>
<developers>
<developer>
<id>ymasory</id>
<name>Yuvi Masory</name>
<email>[email protected]</email>
<url>http://yuvimasory.com</url>
</developer>
</developers>
)