pekko/project/Publish.scala

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.2 KiB
Scala
Raw Normal View History

/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* license agreements; and to You under the Apache License, version 2.0:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* This file is part of the Apache Pekko project, derived from Akka.
*/
/*
2022-02-04 12:36:44 +01:00
* Copyright (C) 2009-2022 Lightbend Inc. <https://www.lightbend.com>
*/
package org.apache.pekko
2011-09-23 10:21:03 +02:00
2011-07-08 18:01:19 +12:00
import sbt._
2011-12-09 21:55:49 +13:00
import sbt.Keys._
import com.lightbend.sbt.publishrsync.PublishRsyncPlugin.autoImport.publishRsyncHost
import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
2011-07-08 18:01:19 +12:00
object Publish extends AutoPlugin {
2011-07-08 18:01:19 +12:00
override def trigger = allRequirements
override lazy val projectSettings = Seq(
publishRsyncHost := "akkarepo@gustav.akka.io",
startYear := Some(2022),
developers := List(
Developer(
"pekko-contributors",
"Apache Pekko Contributors",
"dev@pekko.apache.org",
url("https://github.com/apache/incubator-pekko/graphs/contributors"))))
override def requires = SonatypeApachePlugin
}
/**
* For projects that are not to be published.
*/
object NoPublish extends AutoPlugin {
override def requires = plugins.JvmPlugin
2011-07-08 18:01:19 +12:00
override def projectSettings =
2021-08-17 19:04:27 +12:00
Seq(publish / skip := true, Compile / doc / sources := Seq.empty)
2011-07-08 18:01:19 +12:00
}