forked from qifun/sbt-protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (29 loc) · 1.04 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
sbtPlugin := true
name := "sbt-protobuf"
organization := "com.qifun"
scalacOptions += "-deprecation"
scalacOptions += "-feature"
version := "0.1.0-SNAPSHOT"
description := "A Sbt plugin used to compile google protobuf files."
homepage := Some(url(s"https://github.com/qifun/${name.value}"))
startYear := Some(2014)
licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
publishTo <<= (isSnapshot) { isSnapshot: Boolean =>
if (isSnapshot)
Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
else
Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
scmInfo := Some(ScmInfo(
url(s"https://github.com/qifun/${name.value}"),
s"scm:git:git://github.com/qifun/${name.value}.git",
Some(s"scm:git:[email protected]:qifun/${name.value}.git")))
pomExtra :=
<developers>
<developer>
<id>chank</id>
<name>方里权</name>
<timezone>+8</timezone>
<email>[email protected]</email>
</developer>
</developers>