-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.sbt
71 lines (52 loc) · 1.5 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
70
71
sbtPlugin := true
name := "sbt-ctags"
organization := "net.ceedubs"
description := "An SBT plugin to generate ctags for a project (including its dependencies)"
homepage := Some(url("https://github.com/ceedubs/sbt-ctags"))
startYear := Some(2014)
licenses := Seq(
("GPLv3", url("http://www.gnu.org/licenses/gpl-3.0.txt"))
)
scmInfo := Some(
ScmInfo(
url("https://github.com/ceedubs/sbt-ctags"),
"scm:git:https://github.com/ceedubs/sbt-ctags.git",
Some("scm:git:[email protected]:ceedubs/sbt-ctags.git")
)
)
scalaVersion := "2.12.5"
sbtVersion in Global := "1.0.3"
crossSbtVersions := Vector("0.13.17", "1.1.0")
scalaCompilerBridgeSource := {
val sv = appConfiguration.value.provider.id.version
("org.scala-sbt" % "compiler-interface" % sv % "component").sources
}
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-encoding", "UTF-8"
)
/* publishing */
publishMavenStyle := true
useGpg := true
// see https://github.com/sbt/sbt-pgp/issues/126
pgpSecretRing := pgpPublicRing.value
publishTo := {
val v = version.value
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<developers>
<developer>
<id>ceedubs</id>
<name>Cody Allen</name>
<email>[email protected]</email>
</developer>
</developers>
)