diff --git a/build.sbt b/build.sbt index a5951f4a..a31e9d45 100644 --- a/build.sbt +++ b/build.sbt @@ -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 diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 74117b55..c01be9b2 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -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 diff --git a/project/PekkoPersistenceJdbcDependency.scala b/project/PekkoPersistenceJdbcDependency.scala new file mode 100644 index 00000000..d25e787f --- /dev/null +++ b/project/PekkoPersistenceJdbcDependency.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 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" +} diff --git a/project/PekkoProjectionDependency.scala b/project/PekkoProjectionDependency.scala new file mode 100644 index 00000000..3f8ac0f9 --- /dev/null +++ b/project/PekkoProjectionDependency.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 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" +}