-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #271 from circe/upgradathon
Upgradathon
- Loading branch information
Showing
19 changed files
with
340 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ target/ | |
.classpath | ||
tmp/ | ||
.bsp/ | ||
.metals/ | ||
.vscode/ | ||
.jvm/ | ||
*.semanticdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
ThisBuild / tlBaseVersion := "0.4" | ||
ThisBuild / description := "Yet another Typesafe Config decoder" | ||
ThisBuild / tlBaseVersion := "0.5" | ||
ThisBuild / description := "Circe Golden Testing" | ||
ThisBuild / circeRootOfCodeCoverage := None | ||
ThisBuild / startYear := Some(2016) | ||
|
||
val scala212 = "2.12.19" | ||
val scala213 = "2.13.11" | ||
val scala213 = "2.13.14" | ||
val scala3 = "3.3.3" | ||
ThisBuild / scalaVersion := scala213 | ||
ThisBuild / crossScalaVersions := Seq(scala212, scala213) | ||
ThisBuild / crossScalaVersions := Seq(scala212, scala213, scala3) | ||
|
||
val circeVersion = "0.14.6" | ||
val scalacheckVersion = "1.17.0" | ||
val disciplineScalatestVersion = "2.2.0" | ||
val scalacheckScalaTestVersion = "3.2.18.0" | ||
val circeVersion = "0.14.9" | ||
val scalacheckVersion = "1.18.0" | ||
val disciplineScalatestVersion = "2.3.0" | ||
val scalacheckScalaTestVersion = "3.2.19.0" | ||
|
||
val root = tlCrossRootProject.aggregate(golden, example1) | ||
|
||
|
@@ -21,23 +22,31 @@ lazy val golden = crossProject(JVMPlatform) | |
.settings( | ||
moduleName := "circe-golden", | ||
libraryDependencies ++= Seq( | ||
"org.scalatestplus" %%% "scalacheck-1-17" % scalacheckScalaTestVersion, | ||
"org.scalatestplus" %%% "scalacheck-1-18" % scalacheckScalaTestVersion, | ||
"io.circe" %%% "circe-core" % circeVersion, | ||
"io.circe" %%% "circe-parser" % circeVersion, | ||
"io.circe" %%% "circe-testing" % circeVersion, | ||
"io.circe" %%% "circe-generic" % circeVersion % Test, | ||
"org.scalacheck" %% "scalacheck" % scalacheckVersion, | ||
"org.typelevel" %%% "discipline-scalatest" % disciplineScalatestVersion % Test, | ||
scalaOrganization.value % "scala-reflect" % scalaVersion.value % Provided | ||
) | ||
"org.typelevel" %%% "discipline-scalatest" % disciplineScalatestVersion % Test | ||
), | ||
libraryDependencies ++= { | ||
if (tlIsScala3.value) Nil | ||
else | ||
Seq( | ||
scalaOrganization.value % "scala-reflect" % scalaVersion.value % Provided | ||
) | ||
}, | ||
Test / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.Flat, | ||
tlVersionIntroduced := List("2.13", "2.12", "3").map(_ -> "0.5.0").toMap | ||
) | ||
|
||
lazy val example1 = crossProject(JVMPlatform) | ||
.crossType(CrossType.Pure) | ||
.in(file("examples/example-1")) | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
"io.circe" %% "circe-core" % circeVersion, | ||
"io.circe" %%% "circe-core" % circeVersion, | ||
"org.scalacheck" %% "scalacheck" % scalacheckVersion, | ||
"org.typelevel" %%% "discipline-scalatest" % disciplineScalatestVersion % Test | ||
) | ||
|
@@ -46,16 +55,16 @@ lazy val example1 = crossProject(JVMPlatform) | |
.dependsOn(golden % Test) | ||
|
||
ThisBuild / developers := List( | ||
Developer( | ||
tlGitHubDev( | ||
"travisbrown", | ||
"Travis Brown", | ||
"[email protected]", | ||
url("https://twitter.com/travisbrown") | ||
"Travis Brown" | ||
), | ||
Developer( | ||
tlGitHubDev( | ||
"zarthross", | ||
"Darren Gibson", | ||
"[email protected]", | ||
url("https://twitter.com/zarthross") | ||
"Darren Gibson" | ||
), | ||
tlGitHubDev( | ||
"hamnis", | ||
"Erlend Hamnaberg" | ||
) | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.