-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
63 lines (45 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
import sbtrelease._
import ReleaseStateTransformations._
import GeodudeBuild._
import Dependencies._
name := "geodude"
organization := "com.github.hjast"
version := "0.2.0"
scalaVersion := "2.10.0"
resolvers += Resolver.sonatypeRepo("releases")
scalacOptions ++= Seq(
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-deprecation",
"-unchecked"
)
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 "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { x => false }
licenses := Seq("BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php"))
homepage := Some(url("http://github.com/hjast/geodude"))
pomExtra := (
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<scm>
<url>[email protected]:hjast/geodude.git</url>
<connection>scm:git:[email protected]:hjast/geodude.git</connection>
</scm>
<developers>
<developer>
<id>reubendoetsch</id>
<name>Reuben Doetsch</name>
<url>http://reubendoetsch.com</url>
</developer>
</developers>)