Skip to content

Commit

Permalink
upgrade dependencies and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Feb 6, 2025
1 parent b39334d commit d05bbe4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
15 changes: 10 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,31 @@ organization := "app.softnetwork.stuart"

name := "stuart-client-scala"

version := "0.5.3"
version := "0.6-SNAPSHOT"

scalaVersion := "2.12.18"

scalacOptions ++= Seq("-deprecation", "-feature")
scalacOptions ++= Seq("-deprecation", "-feature", "-target:jvm-1.8", "-Ypartial-unification")

javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")

Test / parallelExecution := false

resolvers ++= Seq(
"Softnetwork releases" at "https://softnetwork.jfrog.io/artifactory/releases/",
"Softnetwork snapshots" at "https://softnetwork.jfrog.io/artifactory/snapshots/",
"Maven Central Server" at "https://repo1.maven.org/maven2",
"Typesafe Server" at "https://repo.typesafe.com/typesafe/releases"
)

libraryDependencies ++=
Seq(
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.1",
"app.softnetwork.protobuf" %% "scalapb-extensions" % "0.1.8",
"app.softnetwork.api" %% "generic-client-api" % "0.2.4",
"app.softnetwork.api" %% "generic-server-api" % "0.4.0",
"app.softnetwork.api" %% "generic-server-api-testkit" % "0.4.0" % Test,
"app.softnetwork.api" %% "generic-client-api" % Versions.clientApi,
"app.softnetwork.api" %% "generic-server-api" % Versions.genericPersistence,
"app.softnetwork.api" %% "generic-server-api-testkit" % Versions.genericPersistence % Test,
"org.apache.commons" % "commons-lang3" % "3.12.0"
)

Expand Down
7 changes: 7 additions & 0 deletions project/Versions.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
object Versions {

val genericPersistence = "0.6.2.1"

val clientApi = "0.3-SNAPSHOT"

}
3 changes: 3 additions & 0 deletions project/protoc.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.1.6")

libraryDependencies += "org.vafer" % "jdeb" % "1.10" artifacts (Artifact("jdeb", "jar", "jar"))
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class StuartApiSpec extends AnyWordSpecLike with Matchers with StrictLogging {

val client_reference: String = UUID.randomUUID().toString

val pickups = List(
val pickups: List[Pickup] = List(
Pickup.defaultInstance
.withAddress("12 rue rivoli, 75001 Paris")
.withContact(
Expand All @@ -33,7 +33,7 @@ class StuartApiSpec extends AnyWordSpecLike with Matchers with StrictLogging {
.withPhone("+33610101010")
)
)
val dropoffs = List(
val dropoffs: List[DropOff] = List(
DropOff.defaultInstance
.withClientReference(client_reference)
.withPackageType(PackageType.small)
Expand Down

0 comments on commit d05bbe4

Please sign in to comment.