diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index cc974b54eef2..0bd73ba557d0 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -321,7 +321,8 @@ object projects: project = "scala-xml", sbtTestCommand = "xml/test", sbtPublishCommand = "xml/publishLocal", - sbtDocCommand = "xml/doc" + sbtDocCommand = "xml/doc", + scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Yexplicit-nulls").filter(_ != "-Yflexible-types"), ) lazy val scalap = SbtCommunityProject(