Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a module for Jackson 2.13 and make the 212 module use Jackson 2.12 #307

Merged
merged 1 commit into from
Mar 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ val allSettings = baseSettings ++ publishSettings
val root = project
.in(file("."))
.settings(allSettings ++ noPublishSettings)
.aggregate(jackson25, jackson26, jackson27, jackson28, jackson29, jackson210, jackson211, jackson212, benchmark)
.aggregate(jackson25, jackson26, jackson27, jackson28, jackson29, jackson210, jackson211, jackson212, jackson213, benchmark)
.dependsOn(jackson210)

lazy val jackson25 = project
Expand Down Expand Up @@ -167,6 +167,15 @@ lazy val jackson212 = project
.settings(allSettings)
.settings(
moduleName := "circe-jackson212",
libraryDependencies ++= jacksonDependencies("2.12.5"),
Compile / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / "210"
)

lazy val jackson213 = project
.in(file("213"))
.settings(allSettings)
.settings(
moduleName := "circe-jackson213",
libraryDependencies ++= jacksonDependencies("2.13.0"),
Compile / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / "210"
)
Expand All @@ -184,7 +193,7 @@ lazy val benchmark = project
)
)
.enablePlugins(JmhPlugin)
.dependsOn(jackson212)
.dependsOn(jackson213)

lazy val noPublishSettings = Seq(
publish := {},
Expand Down