This is an automated email from the ASF dual-hosted git repository.

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-grpc.git


The following commit(s) were added to refs/heads/main by this push:
     new 273ad4e4 Replace ci-release with dynver
273ad4e4 is described below

commit 273ad4e4e6bb17a42c19480bda823d7a67b12b53
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat Mar 11 10:15:33 2023 +0100

    Replace ci-release with dynver
---
 project/Common.scala | 8 ++++++--
 project/plugins.sbt  | 4 ++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/project/Common.scala b/project/Common.scala
index 499d5719..b63c397d 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -15,13 +15,14 @@ import sbt.plugins.JvmPlugin
 import org.apache.pekko.grpc.Dependencies.Versions.{ scala212, scala213 }
 import 
com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys.projectInfoVersion
 import com.typesafe.tools.mima.plugin.MimaKeys._
-import sbtprotoc.ProtocPlugin.autoImport.PB
 import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
+import sbtdynver.DynVerPlugin
+import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots
 
 object Common extends AutoPlugin {
   override def trigger = allRequirements
 
-  override def requires = JvmPlugin && SonatypeApachePlugin
+  override def requires = JvmPlugin && SonatypeApachePlugin && DynVerPlugin
 
   private val consoleDisabledOptions = Seq("-Xfatal-warnings", 
"-Ywarn-unused", "-Ywarn-unused-import")
 
@@ -80,4 +81,7 @@ object Common extends AutoPlugin {
     (Test / testOptions) += Tests.Argument(TestFrameworks.ScalaTest, "-oDF"),
     crossScalaVersions := Seq(scala212, scala213),
     mimaReportSignatureProblems := true)
+
+  override lazy val buildSettings = Seq(
+    dynverSonatypeSnapshots := true)
 }
diff --git a/project/plugins.sbt b/project/plugins.sbt
index ff3b2610..ffb6eef9 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -15,8 +15,8 @@ addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
 addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
 addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.30")
 addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3")
-addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
-addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.5")
+addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
+addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.6")
 
 // allow access to snapshots for pekko-sbt-paradox
 resolvers += "Apache Nexus 
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/";)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to