-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathbuild.sbt
49 lines (39 loc) · 1.21 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
name := """better-monads"""
organization := "com.jason-goodwin"
libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.11" % "test",
"junit" % "junit" % "4.11" % "test"
)
crossPaths := false
publishMavenStyle := true
autoScalaLibrary := false
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://jasongoodwin.com/better-java-monads</url>
<licenses>
<license>
<name>Apache2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:jasongoodwin/better-java-monads</url>
<connection>scm:git:[email protected]:jasongoodwin/better-java-monads.git</connection>
</scm>
<developers>
<developer>
<id>jasongoodwin</id>
<name>Jason Goodwin</name>
<url>http://refactoringfactory.wordpress.com</url>
</developer>
</developers>)
credentials += Credentials(Path.userHome / ".nexuscredentials")