File tree 10 files changed +27
-14
lines changed
bidswitch-json/src/test/scala/com/powerspace/openrtb/bidswitch/fixtures
src/test/scala/com/powerspace/openrtb/json/fixtures
10 files changed +27
-14
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ object BidRequestFixtures {
73
73
val device = getDevice
74
74
val bidRequest = BidRequest (
75
75
id = " fmySKZNcTFcTPOurFYivufGxMtuSYpen" ,
76
- at = Some (AuctionType .fromValue(value = 2 )),
76
+ at = Some (AuctionType .fromValue(2 )),
77
77
imp = Seq (extendedImpression),
78
78
cur = Seq (" EUR" ),
79
79
device = Some (device),
Original file line number Diff line number Diff line change 1
1
name := " scala-openrtb"
2
2
3
- version in ThisBuild := " 1.3.1 "
3
+ version in ThisBuild := " 1.4.0 "
4
4
5
5
scalaVersion in ThisBuild := " 2.13.1"
6
6
crossScalaVersions in ThisBuild := Seq (" 2.12.10" , " 2.13.1" )
Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ libraryDependencies ++= Seq(
19
19
" com.typesafe.akka" %% " akka-http-core" % akkaHttpVersion,
20
20
" com.typesafe.akka" %% " akka-http" % akkaHttpVersion,
21
21
" de.heikoseeberger" %% " akka-http-circe" % akkaHttpJsonVersion,
22
- " io.monix" %% " monix" % monixVersion
23
- )
22
+ " io.monix" %% " monix" % monixVersion,
23
+ " com.thesamet.scalapb" %% " scalapb-runtime" % scalapb.compiler.Version .scalapbVersion % " protobuf"
24
+ )
Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ syntax = "proto2";
2
2
import "openrtb.proto" ;
3
3
package com.powerspace.openrtb.example ;
4
4
5
+ import "scalapb/scalapb.proto" ;
6
+
7
+ option (scalapb.options ) = {
8
+ scope : FILE
9
+ flat_package : true
10
+ lenses : true
11
+ preserve_unknown_fields : false
12
+ };
13
+
5
14
message ImpExt {
6
15
optional string bidFeedback = 1 ;
7
16
}
Original file line number Diff line number Diff line change 1
- val circeVersion = " 0.12.1 "
1
+ val circeVersion = " 0.13.0 "
2
2
3
3
libraryDependencies ++= Seq (
4
4
" io.circe" %% " circe-core" ,
@@ -9,4 +9,4 @@ libraryDependencies ++= Seq(
9
9
10
10
libraryDependencies += " org.scalactic" %% " scalactic" % " 3.0.8" % " test"
11
11
libraryDependencies += " org.scalatest" %% " scalatest" % " 3.0.8" % " test"
12
- libraryDependencies += " org.gnieh" %% " diffson-circe" % " 4.0.0 " % " test"
12
+ libraryDependencies += " org.gnieh" %% " diffson-circe" % " 4.0.3 " % " test"
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ object BidRequestFixtures {
75
75
else RequestOneof .Request (" native-string" )
76
76
BidRequest (
77
77
id = " fmySKZNcTFcTPOurFYivufGxMtuSYpen" ,
78
- at = Some (AuctionType .fromValue(value = 2 )),
78
+ at = Some (AuctionType .fromValue(2 )),
79
79
imp = Seq (getImpression(requestOneof)),
80
80
cur = Seq (" EUR" ),
81
81
device = Some (getDevice),
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ libraryDependencies ++= Seq(
5
5
" com.github.julien-truffaut" %% " monocle-core" % monocleVersion,
6
6
" com.github.julien-truffaut" %% " monocle-macro" % monocleVersion,
7
7
" com.github.julien-truffaut" %% " monocle-law" % monocleVersion % " test" ,
8
- " com.chuusai" %% " shapeless" % " 2.3.3"
8
+ " com.chuusai" %% " shapeless" % " 2.3.3" ,
9
+ " com.thesamet.scalapb" %% " scalapb-runtime" % scalapb.compiler.Version .scalapbVersion % " protobuf"
9
10
)
10
11
11
12
PB .targets in Compile := Seq (
Original file line number Diff line number Diff line change 1
- sbt.version = 1.3.0
1
+ sbt.version = 1.4.7
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" com.thesamet" % " sbt-protoc" % " 0.99.23 " )
2
- libraryDependencies += " com.thesamet.scalapb" %% " compilerplugin" % " 0.9.0 "
1
+ addSbtPlugin(" com.thesamet" % " sbt-protoc" % " 1.0.1 " )
2
+ libraryDependencies += " com.thesamet.scalapb" %% " compilerplugin" % " 0.10.11 "
Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ developers in ThisBuild := List(
38
38
url = url(" https://github.com/Garnek20" ))
39
39
)
40
40
41
- pomIncludeRepository in ThisBuild := { _ =>
42
- false
41
+ pomIncludeRepository in ThisBuild := { _ => false }
42
+ publishTo in ThisBuild := {
43
+ val nexus = " https://oss.sonatype.org/"
44
+ if (isSnapshot.value) Some (" snapshots" at nexus + " content/repositories/snapshots" )
45
+ else Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
43
46
}
44
- publishTo in ThisBuild := sonatypePublishToBundle.value
45
47
publishMavenStyle in ThisBuild := true
You can’t perform that action at this time.
0 commit comments