Skip to content

Commit ce96699

Browse files
committed
Merge branch 'master' into kebs-2.0
2 parents 1cc38ea + 5e8e9b2 commit ce96699

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

build.sbt

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import sbt.librarymanagement.ConflictWarning
22

33
val scala_2_13 = "2.13.14"
4+
val scala_2_12 = "2.12.18"
45
val scala_3 = "3.3.3"
56
val mainScalaVersion = scala_3
67
val supportedScalaVersions = Seq(scala_2_13, scala_3)
@@ -115,7 +116,8 @@ val circeParser = "io.circe" %% "circe-parser" % circeV
115116
val jsonschema = "com.github.andyglow" %% "scala-jsonschema" % "0.7.11"
116117

117118
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.18.0" % "test"
118-
val scalacheckMagnolify = "com.spotify" % "magnolify-scalacheck" % "0.6.4"
119+
120+
val scalacheckMagnolify = "com.spotify" % "magnolify-scalacheck" % "0.7.3"
119121
val scalacheckDerived = "io.github.martinhh" %% "scalacheck-derived" % "0.4.2"
120122
val scalacheckEnumeratum = "com.beachape" %% "enumeratum-scalacheck" % "1.7.4"
121123

@@ -154,7 +156,7 @@ def pekkoHttpInExamples = {
154156
Seq(pekkoStream, pekkoHttp, pekkoHttpSprayJson)
155157
}
156158

157-
val http4sVersion = "0.23.24"
159+
val http4sVersion = "0.23.27"
158160
val http4s = "org.http4s" %% "http4s-dsl" % http4sVersion
159161

160162
val http4sStirVersion = "0.3"
@@ -255,8 +257,8 @@ lazy val jsonschemaSettings = commonSettings ++ Seq(
255257
)
256258

257259
lazy val scalacheckSettings = commonSettings ++ Seq(
258-
libraryDependencies += scalacheck.cross(CrossVersion.for3Use2_13),
259-
libraryDependencies += scalacheckEnumeratum.cross(CrossVersion.for3Use2_13),
260+
libraryDependencies += scalacheck,
261+
libraryDependencies += scalacheckEnumeratum,
260262
) ++ Seq(
261263
libraryDependencies ++= (if (scalaVersion.value.startsWith("3")) Seq(scalacheckDerived)
262264
else Nil)) ++ Seq(libraryDependencies ++= (if(scalaVersion.value.startsWith("2")) Seq(scalacheckMagnolify.cross(CrossVersion.for3Use2_13)) else Nil))

jsonschema/src/main/scala/pl/iterators/kebs/jsonschema/KebsJsonSchemaPredefs.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ package pl.iterators.kebs.jsonschema
33
import json.schema.Predef
44

55
import java.net.{URI, URL}
6-
import java.time.ZonedDateTime
6+
import java.time.{YearMonth, ZonedDateTime}
77

88
trait KebsJsonSchemaPredefs {
99
implicit val predefZonedDateTime: Predef[ZonedDateTime] = Predef(json.Schema.`string`[ZonedDateTime])
1010

11+
implicit val predefYearMonth: Predef[YearMonth] = Predef(json.Schema.`string`[YearMonth])
12+
1113
implicit val predefUrl: Predef[URL] = Predef(json.Schema.`string`[URL])
1214

1315
implicit val predefUri: Predef[URI] = Predef(json.Schema.`string`[URI])

project/build.properties

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
<<<<<<< HEAD
2-
sbt.version = 1.10.1
3-
=======
4-
sbt.version = 1.9.7
5-
>>>>>>> master
1+
sbt.version = 1.10.1

0 commit comments

Comments
 (0)