Skip to content

Commit

Permalink
Merge pull request #47 from valdo404/upgrade-dependencies
Browse files Browse the repository at this point in the history
chore: upgrade dependencies
  • Loading branch information
malves authored Mar 3, 2021
2 parents e1daa77 + afc54fe commit 222b986
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ object BidRequestFixtures {
val device = getDevice
val bidRequest = BidRequest(
id = "fmySKZNcTFcTPOurFYivufGxMtuSYpen",
at = Some(AuctionType.fromValue(value = 2)),
at = Some(AuctionType.fromValue(2)),
imp = Seq(extendedImpression),
cur = Seq("EUR"),
device = Some(device),
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "scala-openrtb"

version in ThisBuild := "1.3.1"
version in ThisBuild := "1.4.0"

scalaVersion in ThisBuild := "2.13.1"
crossScalaVersions in ThisBuild := Seq("2.12.10", "2.13.1")
Expand Down
5 changes: 3 additions & 2 deletions examples/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"de.heikoseeberger" %% "akka-http-circe" % akkaHttpJsonVersion,
"io.monix" %% "monix" % monixVersion
)
"io.monix" %% "monix" % monixVersion,
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
)
9 changes: 9 additions & 0 deletions examples/src/main/protobuf/example.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ syntax = "proto2";
import "openrtb.proto";
package com.powerspace.openrtb.example;

import "scalapb/scalapb.proto";

option (scalapb.options) = {
scope: FILE
flat_package: true
lenses: true
preserve_unknown_fields: false
};

message ImpExt {
optional string bidFeedback = 1;
}
Expand Down
4 changes: 2 additions & 2 deletions openrtb-json/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val circeVersion = "0.12.1"
val circeVersion = "0.13.0"

libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
Expand All @@ -9,4 +9,4 @@ libraryDependencies ++= Seq(

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.8" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
libraryDependencies += "org.gnieh" %% "diffson-circe" % "4.0.0" % "test"
libraryDependencies += "org.gnieh" %% "diffson-circe" % "4.0.3" % "test"
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ object BidRequestFixtures {
else RequestOneof.Request("native-string")
BidRequest(
id = "fmySKZNcTFcTPOurFYivufGxMtuSYpen",
at = Some(AuctionType.fromValue(value = 2)),
at = Some(AuctionType.fromValue(2)),
imp = Seq(getImpression(requestOneof)),
cur = Seq("EUR"),
device = Some(getDevice),
Expand Down
3 changes: 2 additions & 1 deletion openrtb-model/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-macro" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-law" % monocleVersion % "test",
"com.chuusai" %% "shapeless" % "2.3.3"
"com.chuusai" %% "shapeless" % "2.3.3",
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
)

PB.targets in Compile := Seq(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.3.0
sbt.version = 1.4.7
4 changes: 2 additions & 2 deletions project/protoc.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.23")
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.9.0"
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.1")
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.10.11"
8 changes: 5 additions & 3 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ developers in ThisBuild := List(
url = url("https://github.com/Garnek20"))
)

pomIncludeRepository in ThisBuild := { _ =>
false
pomIncludeRepository in ThisBuild:= { _ => false }
publishTo in ThisBuild := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishTo in ThisBuild := sonatypePublishToBundle.value
publishMavenStyle in ThisBuild := true

0 comments on commit 222b986

Please sign in to comment.