-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
45 lines (45 loc) · 1.42 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
organization := "io.github.gitbucket"
name := "sbt-gitbucket-plugin"
version := "1.6.1-SNAPSHOT"
sbtPlugin := true
libraryDependencies ++= Seq(
Defaults.sbtPluginExtra(
"com.eed3si9n" % "sbt-assembly" % "2.3.0",
(pluginCrossBuild / sbtBinaryVersion).value,
(pluginCrossBuild / scalaBinaryVersion).value
),
Defaults.sbtPluginExtra(
"org.playframework.twirl" % "sbt-twirl" % "2.0.7",
(pluginCrossBuild / sbtBinaryVersion).value,
(pluginCrossBuild / scalaBinaryVersion).value
),
)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
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")
}
publishMavenStyle := true
pomIncludeRepository := { x => false }
pomExtra := (<url>https://github.com/gitbucket/sbt-gitbucket-plugin/</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<url>git@github.com:gitbucket/sbt-gitbucket-plugin.git</url>
<connection>scm:git:git@github.com:gitbucket/sbt-gitbucket-plugin.git</connection>
</scm>
<developers>
<developer>
<id>takezoe</id>
<name>Naoki Takezoe</name>
<url>https://github.com/takezoe</url>
</developer>
</developers>
)