Skip to content

Commit

Permalink
Bump deps (#400)
Browse files Browse the repository at this point in the history
* Update scala-java-time to 2.5.0

* Update scala-collection-compat to 2.9.0

* Update sbt-tpolecat to 0.4.2

* Fix warning on docs

* Empty-Commit

* Allows warnings on docs

* Remove fatal warnings flag

---------

Co-authored-by: fortyseven_degrees <[email protected]>
Co-authored-by: Francisco Diaz <[email protected]>
  • Loading branch information
3 people authored Feb 15, 2023
1 parent 9ec3039 commit 8881d78
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
12 changes: 8 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ lazy val microsite = project
)
.settings(
publish / skip := true,
unidocProjectFilter in (ScalaUnidoc, unidoc) := inProjects(
scalacOptions --= Seq("-Werror", "-Xfatal-warnings"),
ScalaUnidoc / unidoc / unidocProjectFilter := inProjects(
Seq(
`scalacheck-toolbox-datetime`.jvm(scala2_13),
`scalacheck-toolbox-magic`.jvm(scala2_13),
Expand All @@ -45,8 +46,9 @@ lazy val `scalacheck-toolbox-datetime`: ProjectMatrix =
.settings(
libraryDependencies ++= Seq(
"org.scalacheck" %%% "scalacheck" % "1.17.0",
"org.scala-lang.modules" %%% "scala-collection-compat" % "2.8.1"
)
"org.scala-lang.modules" %%% "scala-collection-compat" % "2.9.0"
),
scalacOptions --= Seq("-Werror", "-Xfatal-warnings")
)
.jvmPlatform(
scalaVersions = allScalaVersions,
Expand All @@ -55,7 +57,7 @@ lazy val `scalacheck-toolbox-datetime`: ProjectMatrix =
.jsPlatform(
scalaVersions = allScalaVersions,
settings = Seq(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.4.0" % Test
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0" % Test
)
)

Expand All @@ -64,11 +66,13 @@ lazy val `scalacheck-toolbox-magic`: ProjectMatrix =
.enablePlugins(BigListOfNaughtyStringsPlugin)
.settings(description := "ScalaCheck Generators for magic values")
.settings(libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.17.0")
.settings(scalacOptions --= Seq("-Werror", "-Xfatal-warnings"))
.jvmPlatform(scalaVersions = allScalaVersions)

lazy val `scalacheck-toolbox-combinators`: ProjectMatrix =
(projectMatrix in file("modules/scalacheck-toolbox-combinators"))
.settings(description := "Useful generic combinators for ScalaCheck")
.settings(libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.17.0")
.settings(scalacOptions --= Seq("-Werror", "-Xfatal-warnings"))
.jvmPlatform(scalaVersions = allScalaVersions)
.jsPlatform(scalaVersions = allScalaVersions)
2 changes: 1 addition & 1 deletion microsite/docs/docs/datetime/granularity.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import com.fortysevendeg.scalacheck.datetime.jdk8.ArbitraryJdk8._
import com.fortysevendeg.scalacheck.datetime.jdk8.granularity.years

val prop = forAll { (zdt: ZonedDateTime) =>
(zdt.getMonth == Month.JANUARY)
(zdt.getMonth == Month.JANUARY) &&
(zdt.getDayOfMonth == 1) &&
(zdt.getHour == 0) &&
(zdt.getMinute == 0) &&
Expand Down
6 changes: 3 additions & 3 deletions project/MicrositeSettingsPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ object MicrositeSettingsPlugin extends AutoPlugin {
micrositePushSiteWith := GitHub4s,
micrositeTheme := "pattern",
micrositeGithubToken := Option(System.getenv().get("GITHUB_TOKEN")),
docsMappingsAPIDir in ScalaUnidoc := "api",
ScalaUnidoc / docsMappingsAPIDir := "api",
addMappingsToSiteDir(
mappings in (ScalaUnidoc, packageDoc),
docsMappingsAPIDir in ScalaUnidoc
ScalaUnidoc / packageDoc / mappings,
ScalaUnidoc / docsMappingsAPIDir
)
)

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ addSbtPlugin("com.alejandrohdezma" % "sbt-github" % "0.11.6"
addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.11.6")
addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.11.6")
addSbtPlugin("com.alejandrohdezma" % "sbt-remove-test-from-pom" % "0.1.0")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2")
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.0")

0 comments on commit 8881d78

Please sign in to comment.