-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
53 lines (42 loc) · 1.36 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
organization := "com.github.dcshock"
name := "sbt-binks"
version := "1.0"
sbtPlugin := true
scalacOptions in Compile ++= Seq("-deprecation")
publishMavenStyle := false
scalaVersion := "2.10.6"
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Maven Central" at "http://repo1.maven.org/maven2",
"Fuse Snapshots" at "http://repo.fusesource.com/nexus/content/repositories/snapshots",
"Fuse" at "http://repo.fusesource.com/nexus/content/groups/public"
)
publishMavenStyle := true
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")
}
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/dcshock/sbt-binks</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:dcshock/sbt-binks.git</url>
<connection>scm:git:[email protected]:dcshock/sbt-binks.git</connection>
</scm>
<developers>
<developer>
<id>dcshock</id>
<name>Matt Conroy</name>
<url>http://www.mattconroy.com</url>
</developer>
</developers>)