diff --git a/.gitmodules b/.gitmodules index 8f87e992013a..78d685311122 100644 --- a/.gitmodules +++ b/.gitmodules @@ -221,3 +221,6 @@ [submodule "community-build/community-projects/shapeless-3"] path = community-build/community-projects/shapeless-3 url = https://github.com/dotty-staging/shapeless-3.git +[submodule "community-build/community-projects/gears"] + path = community-build/community-projects/gears + url = https://github.com/dotty-staging/gears.git diff --git a/community-build/community-projects/gears b/community-build/community-projects/gears new file mode 160000 index 000000000000..316d1d083673 --- /dev/null +++ b/community-build/community-projects/gears @@ -0,0 +1 @@ +Subproject commit 316d1d083673c35e74871c9b551b3ae3956e5424 diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index a0444505801a..81a0dfc0ee31 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -10,6 +10,7 @@ lazy val compilerVersion: String = val file = communitybuildDir.resolve("scala3-bootstrapped.version") new String(Files.readAllBytes(file), UTF_8) + lazy val compilerSupportExperimental: Boolean = compilerVersion.contains("SNAPSHOT") || compilerVersion.contains("NIGHTLY") @@ -487,6 +488,7 @@ object projects: dependencies = List(scalacheck) ) + lazy val scalaCollectionCompat = SbtCommunityProject( project = "scala-collection-compat", sbtTestCommand = "compat30/test", @@ -755,6 +757,14 @@ object projects: dependencies = List(utest, scalacheck) ) + lazy val gears = SbtCommunityProject( + project = "gears", + sbtTestCommand = "rootJVM/test", + sbtPublishCommand = "rootJVM/publishLocal", + scalacOptions = Nil, + dependencies = Nil + ) + end projects def allProjects = List( @@ -836,6 +846,7 @@ def allProjects = List( projects.spire, projects.http4s, projects.parboiled2, + projects.gears ) lazy val projectMap = allProjects.groupBy(_.project)