1- ThisBuild / tlBaseVersion := " 0.23 "
1+ ThisBuild / tlBaseVersion := " 0.24 "
22ThisBuild / developers := List (
33 tlGitHubDev(" rossabaker" , " Ross A. Baker" )
44)
@@ -9,52 +9,32 @@ val Scala213 = "2.13.16"
99ThisBuild / crossScalaVersions := Seq (Scala212 , Scala213 , " 3.3.6" )
1010ThisBuild / scalaVersion := Scala213
1111
12- lazy val root = project.in(file(" ." )).aggregate(scalaXml2, scalaXml1 ).enablePlugins(NoPublishPlugin )
12+ lazy val root = project.in(file(" ." )).aggregate(scalaXml ).enablePlugins(NoPublishPlugin )
1313
1414val http4sVersion = " 0.23.30"
1515val scalacheckXmlVersion = " 0.1.1"
16- val scalaXml1Version = " 1.3.1"
17- val scalaXml2Version = " 2.3.0"
16+ val scalaXml2Version = " 2.4.0"
1817val munitVersion = " 1.1.0"
1918val munitCatsEffectVersion = " 2.1.0"
2019
21- lazy val scalaXml2 = project
22- .in(file(" scala-xml-2 " ))
20+ lazy val scalaXml = project
21+ .in(file(" scala-xml" ))
2322 .settings(
2423 name := " http4s-scala-xml" ,
2524 description := " Provides scala-xml codecs for http4s" ,
26- tlMimaPreviousVersions ++= (0 to 11 ).map(y => s " 0.23. $y" ).toSet,
27- libraryDependencies += " org.scala-lang.modules" %%% " scala-xml" % scalaXml2Version,
28- commonSettings,
29- )
30-
31- lazy val scalaXml1 = project
32- .in(file(" scala-xml-1" ))
33- .settings(
34- name := " http4s-scala-xml-1" ,
35- description := " Provides scala-xml codecs for http4s" ,
36- tlMimaPreviousVersions ++= Set (" 0.23.0" ),
37- crossScalaVersions := Seq (Scala212 , Scala213 ),
38- libraryDependencies += " org.scala-lang.modules" %%% " scala-xml" % scalaXml1Version,
39- dependencyOverrides += " org.scala-lang.modules" %%% " scala-xml" % scalaXml1Version,
40- commonSettings,
25+ libraryDependencies ++= Seq (
26+ " org.http4s" %%% " http4s-core" % http4sVersion,
27+ " org.http4s" %%% " http4s-laws" % http4sVersion % Test ,
28+ " org.scala-lang.modules" %%% " scala-xml" % scalaXml2Version,
29+ " org.scalameta" %%% " munit-scalacheck" % munitVersion % Test ,
30+ " org.typelevel" %%% " munit-cats-effect" % munitCatsEffectVersion % Test ,
31+ " org.typelevel" %%% " scalacheck-xml" % scalacheckXmlVersion % Test ,
32+ ),
4133 )
4234
43- lazy val commonSettings = Seq (
44- Compile / unmanagedSourceDirectories += (LocalRootProject / baseDirectory).value / " scala-xml" / " src" / " main" / " scala" ,
45- Test / unmanagedSourceDirectories += (LocalRootProject / baseDirectory).value / " scala-xml" / " src" / " test" / " scala" ,
46- libraryDependencies ++= Seq (
47- " org.http4s" %%% " http4s-core" % http4sVersion,
48- " org.http4s" %%% " http4s-laws" % http4sVersion % Test ,
49- " org.scalameta" %%% " munit-scalacheck" % munitVersion % Test ,
50- " org.typelevel" %%% " munit-cats-effect" % munitCatsEffectVersion % Test ,
51- " org.typelevel" %%% " scalacheck-xml" % scalacheckXmlVersion % Test ,
52- ),
53- )
54-
5535lazy val docs = project
5636 .in(file(" site" ))
57- .dependsOn(scalaXml2 )
37+ .dependsOn(scalaXml )
5838 .settings(
5939 libraryDependencies ++= Seq (
6040 " org.http4s" %%% " http4s-dsl" % http4sVersion,
0 commit comments