Skip to content

Commit

Permalink
use more sbt-pekko-build features (#162)
Browse files Browse the repository at this point in the history
* use more sbt-pekko-build features

* import issues
  • Loading branch information
pjfanning authored Oct 21, 2024
1 parent 0c555d1 commit 7dd8b64
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 5 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import sbt.Keys.parallelExecution
sourceDistName := "apache-pekko-persistence-r2dbc"
sourceDistIncubating := false

ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo

GlobalScope / parallelExecution := false
Expand Down
8 changes: 4 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ object Dependencies {
val Scala213 = "2.13.15"
val Scala3 = "3.3.4"
val PekkoVersion = PekkoCoreDependency.version
val PekkoVersionInDocs = "1.1"
val PekkoPersistenceJdbcVersion = "1.1.0"
val PekkoVersionInDocs = PekkoCoreDependency.default.link
val PekkoPersistenceJdbcVersion = PekkoPersistenceJdbcDependency.version
val PekkoPersistenceR2dbcVersionInDocs = "1.0"
val PekkoProjectionVersion = "1.1.0-M1"
val PekkoProjectionVersionInDocs = "1.1"
val PekkoProjectionVersion = PekkoProjectionDependency.version
val PekkoProjectionVersionInDocs = PekkoProjectionDependency.default.link

object Compile {
val pekkoActorTyped = "org.apache.pekko" %% "pekko-actor-typed" % PekkoVersion
Expand Down
24 changes: 24 additions & 0 deletions project/PekkoPersistenceJdbcDependency.scala
Original file line number Diff line number Diff line change
@@ -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 PekkoPersistenceJdbcDependency extends PekkoDependency {
override val checkProject: String = "pekko-persistence-jdbc"
override val module: Option[String] = Some("persistence.jdbc")
override val currentVersion: String = "1.1.0"
}
24 changes: 24 additions & 0 deletions project/PekkoProjectionDependency.scala
Original file line number Diff line number Diff line change
@@ -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 PekkoProjectionDependency extends PekkoDependency {
override val checkProject: String = "pekko-projection-jdbc"
override val module: Option[String] = Some("projection")
override val currentVersion: String = "1.1.0-M1"
}

0 comments on commit 7dd8b64

Please sign in to comment.