-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
69 lines (55 loc) · 2.02 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
66
67
68
69
organization := "com.flyobjectspace"
name := "FlyJava"
version := "2.0.5-SNAPSHOT"
javaSource in Compile := baseDirectory.value / "src"
javaSource in Test := baseDirectory.value / "test"
javacOptions in (Compile, compile) ++= Seq("-source", "1.6", "-target", "1.6")
javacOptions in (doc) ++= Seq("-source", "1.6")
libraryDependencies ++= Seq("junit" % "junit" % "4.11" % "test")
crossPaths := false
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false}
autoScalaLibrary := false
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")
}
pomExtra :=
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license/</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:fly-object-space/fly-java.git</url>
<connection>scm:git:[email protected]:fly-object-space/fly-java.git</connection>
</scm>
<url>http://www.flyobjectspace.com</url>
<developers>
<developer>
<id>cjw</id>
<name>Channing Walton</name>
<email>channing [dot] walton [at] underscoreconsulting [dot] com</email>
<organization>Underscore Consulting Ltd</organization>
</developer>
<developer>
<id>nw</id>
<name>Nigel Warren</name>
<organization>Zink Digital Ltd</organization>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>User and Developer Discussion List</name>
<archive>http://groups.google.com/group/flyobjectspace</archive>
<post>[email protected]</post>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
</mailingList>
</mailingLists>