You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/01/26 13:21:09 UTC
(incubator-pekko-persistence-r2dbc) branch main updated: use sbt-pekko-build (#80)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-r2dbc.git
The following commit(s) were added to refs/heads/main by this push:
new 02e051e use sbt-pekko-build (#80)
02e051e is described below
commit 02e051e28a51d366f224d26120b0eec05107b069
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Fri Jan 26 14:21:04 2024 +0100
use sbt-pekko-build (#80)
---
build.sbt | 8 +-------
project/Dependencies.scala | 2 +-
project/PekkoCoreDependency.scala | 24 ++++++++++++++++++++++++
project/plugins.sbt | 6 +++---
4 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/build.sbt b/build.sbt
index a9f18b4..e00bcd7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -10,17 +10,11 @@
import net.bzzt.reproduciblebuilds.ReproducibleBuildsPlugin.reproducibleBuildsCheckResolver
import sbt.Keys.parallelExecution
-ThisBuild / apacheSonatypeProjectProfile := "pekko"
ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "apache-pekko-persistence-r2dbc"
sourceDistIncubating := true
-commands := commands.value.filterNot { command =>
- command.nameOption.exists { name =>
- name.contains("sonatypeRelease") || name.contains("sonatypeBundleRelease")
- }
-}
-
+ThisBuild / pekkoInlineEnabled := false
ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo
GlobalScope / parallelExecution := false
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 860bd7f..c0834d2 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -17,7 +17,7 @@ object Dependencies {
val Scala212 = "2.12.18"
val Scala213 = "2.13.12"
val Scala3 = "3.3.1"
- val PekkoVersion = System.getProperty("override.pekko.version", "1.0.1")
+ val PekkoVersion = PekkoCoreDependency.version
val PekkoVersionInDocs = "1.0"
val PekkoPersistenceJdbcVersion = "1.0.0"
val PekkoPersistenceR2dbcVersionInDocs = "1.0"
diff --git a/project/PekkoCoreDependency.scala b/project/PekkoCoreDependency.scala
new file mode 100644
index 0000000..b3244a5
--- /dev/null
+++ b/project/PekkoCoreDependency.scala
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import com.github.pjfanning.pekkobuild.PekkoDependency
+
+object PekkoCoreDependency extends PekkoDependency {
+ override val checkProject: String = "pekko-cluster-sharding-typed"
+ override val module: Option[String] = None
+ override val currentVersion: String = "1.0.2"
+}
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 60e7f06..146887f 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -7,15 +7,15 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0") // for maintenance of copyright file header
-addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
+addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") // for maintenance of copyright file header
+addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")
// for releasing
-addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.10")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.31")
+addSbtPlugin("com.github.pjfanning" % "sbt-pekko-build" % "0.3.2")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.11")
addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org