Skip to content

Commit 309b54b

Browse files
committed
add jackson-module-scala to community build
add scala-java8-compat add scalaJava8Compat
1 parent 2279afc commit 309b54b

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,9 @@
207207
[submodule "community-build/community-projects/libretto"]
208208
path = community-build/community-projects/libretto
209209
url = https://github.com/dotty-staging/libretto.git
210+
[submodule "community-build/community-projects/jackson-module-scala"]
211+
path = community-build/community-projects/jackson-module-scala
212+
url = https://github.com/FasterXML/jackson-module-scala.git
213+
[submodule "community-build/community-projects/scala-java8-compat"]
214+
path = community-build/community-projects/scala-java8-compat
215+
url = https://github.com/scala/scala-java8-compat.git

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,12 @@ object projects:
508508
sbtPublishCommand = "compat30/publishLocal",
509509
)
510510

511+
lazy val scalaJava8Compat = SbtCommunityProject(
512+
project = "scala-java8-compat",
513+
sbtTestCommand = "test",
514+
sbtPublishCommand = "publishLocal",
515+
)
516+
511517
lazy val verify = SbtCommunityProject(
512518
project = "verify",
513519
sbtTestCommand = "verifyJVM/test",
@@ -716,6 +722,13 @@ object projects:
716722
dependencies = List(scalatest)
717723
)
718724

725+
lazy val jacksonModuleScala = SbtCommunityProject(
726+
project = "jackson-module-scala",
727+
sbtTestCommand = "test",
728+
sbtPublishCommand = "publishLocal",
729+
dependencies = List(scalaJava8Compat, scalatest)
730+
)
731+
719732
end projects
720733

721734
def allProjects = List(
@@ -762,6 +775,7 @@ def allProjects = List(
762775
projects.catsEffect3,
763776
projects.scalaParallelCollections,
764777
projects.scalaCollectionCompat,
778+
projects.scalaJava8Compat,
765779
projects.verify,
766780
projects.discipline,
767781
projects.disciplineMunit,
@@ -792,6 +806,7 @@ def allProjects = List(
792806
projects.scalacheckEffect,
793807
projects.fs2,
794808
projects.libretto,
809+
projects.jacksonModuleScala,
795810
)
796811

797812
lazy val projectMap = allProjects.groupBy(_.project)

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ class CommunityBuildTestC extends CommunityBuildTest:
145145
@Test def fastparse = projects.fastparse.run()
146146
@Test def geny = projects.geny.run()
147147
@Test def intent = projects.intent.run()
148+
@Test def jacksonModuleScala = projects.jacksonModuleScala.run()
148149
@Test def libretto = projects.libretto.run()
149150
@Test def minitest = projects.minitest.run()
150151
@Test def onnxScala = projects.onnxScala.run()
@@ -156,6 +157,7 @@ class CommunityBuildTestC extends CommunityBuildTest:
156157
@Test def requests = projects.requests.run()
157158
@Test def scalacheck = projects.scalacheck.run()
158159
@Test def scalaCollectionCompat = projects.scalaCollectionCompat.run()
160+
@Test def scalaJava8Compat = projects.scalaJava8Compat.run()
159161
@Test def scalap = projects.scalap.run()
160162
@Test def scalaParallelCollections = projects.scalaParallelCollections.run()
161163
@Test def scalaParserCombinators = projects.scalaParserCombinators.run()

0 commit comments

Comments
 (0)