Skip to content

Commit

Permalink
Merge pull request #426 from mkurz/pekko
Browse files Browse the repository at this point in the history
Pekko
  • Loading branch information
mkurz authored Oct 5, 2023
2 parents 08261f2 + 0beaeb4 commit c5a1127
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ val ScalatestSeleniumVersion = ScalatestVersion + ".0"
val ScalatestMockitoVersion = ScalatestVersion + ".0"

ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("releases")
// To make use of Pekko snapshots uncomment following two resolvers:
// ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
// ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")

// Customise sbt-dynver's behaviour to make it work with tags which aren't v-prefixed
ThisBuild / dynverVTagPrefix := false
Expand Down Expand Up @@ -95,7 +98,7 @@ lazy val `scalatestplus-play` = project
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")),
libraryDependencies ++= Seq(
ws,
nettyServer % Test, // Using netty for now, we can switch back to akkaHttpServer when it has Scala 3 artifacts
nettyServer % Test, // Using netty for now, we can switch back to pekkoHttpServer when it has Scala 3 artifacts
playTest,
"org.scalatest" %% "scalatest" % ScalatestVersion,
"org.scalatestplus" %% "mockito-4-11" % ScalatestMockitoVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
package scalaguide.tests.scalatest

import akka.stream.Materializer
import org.apache.pekko.stream.Materializer
import org.scalatestplus.play._
import org.scalatestplus.play.guice.GuiceOneAppPerSuite
import play.api.libs.json.Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ package org.scalatestplus.play

import java.util.concurrent.atomic.AtomicInteger

import akka.actor.ActorSystem
import akka.actor.CoordinatedShutdown
import akka.stream.Materializer
import org.apache.pekko.actor.ActorSystem
import org.apache.pekko.actor.CoordinatedShutdown
import org.apache.pekko.stream.Materializer
import play.api.http.HttpErrorHandler
import play.api.http.HttpRequestHandler
import play.api.inject.Injector
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resolvers ++= DefaultOptions.resolvers(snapshot = true)
resolvers ++= Resolver
.sonatypeOssRepos("snapshots") // used by deploy nightlies, which publish here & use -Dplay.version

addSbtPlugin("com.typesafe.play" % "play-docs-sbt-plugin" % sys.props.getOrElse("play.version", "2.9.0-RC2"))
addSbtPlugin("org.playframework" % "play-docs-sbt-plugin" % sys.props.getOrElse("play.version", "3.0.0-M1"))

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
Expand Down

0 comments on commit c5a1127

Please sign in to comment.