Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
build: Bump plugins to only fetch from maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren committed Jan 30, 2024
1 parent 55fc995 commit a4db9b2
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 33 deletions.
2 changes: 1 addition & 1 deletion akka-sample-cluster-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
4 changes: 2 additions & 2 deletions akka-sample-cluster-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.4.0")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.0.0")
addSbtPlugin("com.github.sbt" % "sbt-multi-jvm" % "0.6.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")
1 change: 1 addition & 0 deletions akka-sample-cqrs-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.9.8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
3 changes: 1 addition & 2 deletions akka-sample-distributed-data-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.4.0")

addSbtPlugin("com.github.sbt" % "sbt-multi-jvm" % "0.6.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion akka-sample-fsm-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion akka-sample-fsm-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.0.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")
5 changes: 2 additions & 3 deletions akka-sample-kafka-to-sharding-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lazy val kafka = project

lazy val client = project
.in(file("client"))
.enablePlugins(AkkaGrpcPlugin, JavaAgent)
.enablePlugins(AkkaGrpcPlugin)
.settings(
resolvers += "Akka library repository".at("https://repo.akka.io/maven"),
libraryDependencies ++= Seq(
Expand All @@ -48,8 +48,7 @@ lazy val client = project

lazy val processor = project
.in(file("processor"))
.enablePlugins(AkkaGrpcPlugin, JavaAgent)
.settings(javaAgents += "org.mortbay.jetty.alpn" % "jetty-alpn-agent" % "2.0.9" % "runtime;test")
.enablePlugins(AkkaGrpcPlugin)
.settings(
resolvers += "Akka library repository".at("https://repo.akka.io/maven"),
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import akka.cluster.typed.{Cluster, SelfUp, Subscribe}
import akka.http.scaladsl._
import akka.http.scaladsl.model.{HttpRequest, HttpResponse}
import akka.management.scaladsl.AkkaManagement
import akka.stream.Materializer
import com.typesafe.config.{Config, ConfigFactory}

import scala.concurrent.Future
Expand Down Expand Up @@ -91,17 +90,13 @@ object Main {
Behaviors.stopped
}


def startGrpc(system: ActorSystem[_], frontEndPort: Int, region: ActorRef[UserEvents.Command]): Future[Http.ServerBinding] = {
val mat = Materializer.createMaterializer(system.toClassic)
val service: HttpRequest => Future[HttpResponse] =
UserServiceHandler(new UserGrpcService(system, region))(mat, system.toClassic)
Http()(system.toClassic).bindAndHandleAsync(
service,
interface = "127.0.0.1",
port = frontEndPort,
connectionContext = HttpConnectionContext())(mat)

UserServiceHandler(new UserGrpcService(system, region))(system.toClassic)
Http(system).newServerAt(
interface = "127.0.0.1",
port = frontEndPort)
.bind(service)
}

def config(port: Int, managementPort: Int): Config =
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
6 changes: 2 additions & 4 deletions akka-sample-kafka-to-sharding-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "0.7.3")
addSbtPlugin("com.lightbend.sbt" % "sbt-javaagent" % "0.1.4") // ALPN agent
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.25")
resolvers += "Akka library repository".at("https://repo.akka.io/maven")

libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.9.0"
addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.4.0")
2 changes: 1 addition & 1 deletion akka-sample-persistence-dc-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion akka-sample-persistence-dc-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.0.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")

2 changes: 1 addition & 1 deletion akka-sample-persistence-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion akka-sample-persistence-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.0.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")
2 changes: 1 addition & 1 deletion akka-sample-sharding-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion docs-gen/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.8

0 comments on commit a4db9b2

Please sign in to comment.