-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
62 lines (42 loc) · 1.45 KB
/
build.sbt
File metadata and controls
62 lines (42 loc) · 1.45 KB
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
name := "sbt-codes"
version := "0.4.0-SNAPSHOT"
organization := "codes.reactive.sbt"
description := "SBT Plugin for consistent configuration of reactive.codes SBT Projects."
startYear := Some(2014)
sbtPlugin := true
publishMavenStyle := true
scmInfo := Some(ScmInfo(url("https://github.com/reactivecodes/sbt-codes"),
"scm:git:https://github.com/reactivecodes/sbt-codes.git"))
homepage := Some(url("https://github.com/reactivecodes/sbt-codes"))
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 <<= pomExtra(_ ++ devs)
scalacOptions in Compile += Opts.compile.deprecation
publish <<= PgpKeys.publishSigned
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
addSbtPlugin("no.arktekk.sbt" % "aether-deploy" % "0.16")
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.3.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0" )
addSbtPlugin("org.jetbrains.teamcity.plugins" % "sbt-teamcity-logger" % "0.3.0")
// Impl
def devs = {
val developers = Map(
"arashi01" → "Ali Salim Rashid"
)
<developers>
{developers map { m ⇒
<developer>
<id>{m._1}</id>
<name>{m._2}</name>
<url>http://github.com/{m._1}</url>
</developer>
}}
</developers>
}