-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathPublish.scala
37 lines (30 loc) · 1006 Bytes
/
Publish.scala
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
package build.play.grpc
import sbt._
import Keys._
/**
* For projects that are not to be published.
*/
object NoPublish extends AutoPlugin {
override def requires = plugins.JvmPlugin
override def projectSettings = Seq(
(publish / skip) := true,
)
}
object Publish extends AutoPlugin {
override def trigger = allRequirements
override def projectSettings = Seq(
organizationName := "The Play Framework Project",
organizationHomepage := Some(url("https://playframework.com")),
homepage := Some(url("https://github.com/playframework/play-grpc")),
scmInfo := Some(
ScmInfo(url("https://github.com/playframework/play-grpc"), "git@github.com:playframework/play-grpc"),
),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers += Developer(
"playframework",
"The Play Framework Contributors",
"contact@playframework.com",
url("https://github.com/playframework"),
),
)
}