Produce a BOM for Akka libraries (#29839)
This commit is contained in:
parent
78ffa91c4a
commit
12ca84c247
3 changed files with 34 additions and 26 deletions
|
|
@ -17,30 +17,24 @@ object Publish extends AutoPlugin {
|
|||
override def trigger = allRequirements
|
||||
|
||||
override lazy val projectSettings = Seq(
|
||||
pomExtra := akkaPomExtra,
|
||||
publishTo := Some(akkaPublishTo.value),
|
||||
publishRsyncHost := "akkarepo@gustav.akka.io",
|
||||
credentials ++= akkaCredentials,
|
||||
organizationName := "Lightbend Inc.",
|
||||
organizationHomepage := Some(url("https://www.lightbend.com")),
|
||||
startYear := Some(2009),
|
||||
developers := List(
|
||||
Developer(
|
||||
"akka-contributors",
|
||||
"Akka Contributors",
|
||||
"akka.official@gmail.com",
|
||||
url("https://github.com/akka/akka/graphs/contributors"))),
|
||||
publishMavenStyle := true,
|
||||
pomIncludeRepository := { x =>
|
||||
false
|
||||
},
|
||||
defaultPublishTo := target.value / "repository")
|
||||
|
||||
def akkaPomExtra = {
|
||||
<inceptionYear>2009</inceptionYear>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>akka-contributors</id>
|
||||
<name>Akka Contributors</name>
|
||||
<email>akka.official@gmail.com</email>
|
||||
<url>https://github.com/akka/akka/graphs/contributors</url>
|
||||
</developer>
|
||||
</developers>
|
||||
}
|
||||
|
||||
private def akkaPublishTo = Def.setting {
|
||||
val key = new java.io.File(
|
||||
Option(System.getProperty("akka.gustav.key"))
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.4.0")
|
|||
//#sbt-multi-jvm
|
||||
|
||||
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.6.0")
|
||||
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.0")
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
|
||||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.23")
|
||||
// sbt-osgi 0.9.5 is available but breaks including jdk9-only classes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue