@@ -13,7 +13,7 @@ lazy val testedCompilerVersion: String =
13
13
lazy val sbtPluginFilePath : String =
14
14
// Workaround for https://github.com/sbt/sbt/issues/4395
15
15
new File (sys.props(" user.home" ) + " /.sbt/1.0/plugins" ).mkdirs()
16
- communitybuildDir.resolve(" sbt-dotty-sbt " ).toAbsolutePath().toString()
16
+ communitybuildDir.resolve(" sbt-injected-plugins " ).toAbsolutePath().toString()
17
17
18
18
def log (msg : String ) = println(Console .GREEN + msg + Console .RESET )
19
19
@@ -145,7 +145,7 @@ final case class SbtCommunityProject(
145
145
case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" )
146
146
case _ => Nil
147
147
extraSbtArgs ++ sbtProps ++ List (
148
- " -sbt-version" , " 1.6.1 " ,
148
+ " -sbt-version" , " 1.6.2 " ,
149
149
" -Dsbt.supershell=false" ,
150
150
s " -Ddotty.communitybuild.dir= $communitybuildDir" ,
151
151
s " --addPluginSbtFile= $sbtPluginFilePath"
@@ -281,12 +281,6 @@ object projects:
281
281
requiresExperimental = true ,
282
282
)
283
283
284
- lazy val algebra = SbtCommunityProject (
285
- project = " algebra" ,
286
- sbtTestCommand = " coreJVM/compile" ,
287
- sbtDocCommand = forceDoc(" coreJVM" )
288
- )
289
-
290
284
lazy val scalacheck = SbtCommunityProject (
291
285
project = " scalacheck" ,
292
286
sbtTestCommand = " jvm/test;js/test" ,
@@ -305,10 +299,9 @@ object projects:
305
299
// Some scalatest's tests are flaky (https://github.com/scalatest/scalatest/issues/2049)
306
300
// so we disable them, this list is based on the one used in the Scala 2 community build
307
301
// (https://github.com/scala/community-build/blob/2.13.x/proj/scalatest.conf).
308
- """ set scalatestTest / Test / unmanagedSources / excludeFilter := HiddenFileFilter || "GeneratorSpec.scala" || "FrameworkSuite.scala" || "WaitersSpec.scala" || "TestSortingReporterSpec.scala" || "JavaFuturesSpec.scala" || "ParallelTestExecutionSpec.scala" || "TimeLimitsSpec.scala" || " TestThreadsStartingCounterSpec.scala" || "SuiteSortingReporterSpec.scala" || "CommonGeneratorsSpec.scala" || "PropCheckerAssertingSpec.scala" || "ConductorMethodsSuite.scala"""" ,
309
- """ set scalacticTest / Test / unmanagedSources / excludeFilter := HiddenFileFilter || "NonEmptyArraySpec.scala"""" ,
302
+ """ set scalatestTestDotty / Test / managedSources ~= (_.filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "WaitersSpec.scala").filterNot(_.getName == "TestSortingReporterSpec.scala").filterNot(_.getName == "JavaFuturesSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "TimeLimitsSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == " TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "SuiteSortingReporterSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "PropCheckerAssertingSpec.scala").filterNot(_.getName == "ConductorMethodsSuite.scala").filterNot(_.getName == "EventuallySpec.scala")) """ ,
303
+ """ set scalacticTestDotty / Test / managedSources ~= (_.filterNot(_.getName == "NonEmptyArraySpec.scala")) """ ,
310
304
""" set genRegularTests4 / Test / managedSources ~= (_.filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == "TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "EventuallySpec.scala"))""" ,
311
-
312
305
" scalacticTestDotty/test; scalatestTestDotty/test; scalacticDottyJS/compile; scalatestDottyJS/compile"
313
306
).mkString(" ; " ),
314
307
sbtPublishCommand = " scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal" ,
@@ -364,7 +357,7 @@ object projects:
364
357
365
358
lazy val scalaPB = SbtCommunityProject (
366
359
project = " ScalaPB" ,
367
- sbtTestCommand = " dotty-community-build /compile" ,
360
+ sbtTestCommand = " lensesJVM3/compile; runtimeJVM3/compile; grpcRuntimeJVM3/compile; compilerPluginJVM3 /compile" ,
368
361
// aggregateDoc("runtimeJVM")("scalapbc", "grpcRuntime", "compilerPlugin") fails with
369
362
// module class ScalaPbCodeGenerator$ has non-class parent: TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),module protocbridge),ProtocCodeGenerator)
370
363
// Also it seems that we do not handle correctly aggreagation projects
@@ -442,6 +435,7 @@ object projects:
442
435
project = " zio" ,
443
436
sbtTestCommand = " testJVMDotty" ,
444
437
sbtDocCommand = forceDoc(" coreJVM" ),
438
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Xcheck-macros" ),
445
439
dependencies = () => List (izumiReflect)
446
440
)
447
441
@@ -468,12 +462,13 @@ object projects:
468
462
sbtTestCommand = " unitTests/test" ,
469
463
// Adds <empty> package
470
464
sbtDocCommand = " coreJVM/doc" ,
465
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Ysafe-init" ),
471
466
dependencies = () => List (munit, scodecBits),
472
467
)
473
468
474
469
lazy val scalaParserCombinators = SbtCommunityProject (
475
470
project = " scala-parser-combinators" ,
476
- sbtTestCommand = " parserCombinatorsJVM/test" ,
471
+ sbtTestCommand = " set every versionPolicyIntention := Compatibility.None; parserCombinatorsJVM/test" ,
477
472
sbtDocCommand = forceDoc(" parserCombinatorsJVM" ),
478
473
)
479
474
@@ -512,7 +507,7 @@ object projects:
512
507
513
508
lazy val catsEffect3 = SbtCommunityProject (
514
509
project = " cats-effect-3" ,
515
- sbtTestCommand = " test " ,
510
+ sbtTestCommand = " ciJVM " ,
516
511
sbtPublishCommand = " publishLocal" ,
517
512
sbtDocCommand = " ;coreJVM/doc ;lawsJVM/doc ;kernelJVM/doc" ,
518
513
dependencies = () => List (cats, coop, disciplineSpecs2, scalacheck)
@@ -552,6 +547,7 @@ object projects:
552
547
project = " discipline" ,
553
548
sbtTestCommand = " coreJVM/test;coreJS/test" ,
554
549
sbtPublishCommand = " set every credentials := Nil;coreJVM/publishLocal;coreJS/publishLocal" ,
550
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Ysafe-init" ),
555
551
dependencies = () => List (scalacheck)
556
552
)
557
553
@@ -679,9 +675,9 @@ object projects:
679
675
680
676
lazy val scissLucre = SbtCommunityProject (
681
677
project = " Lucre" ,
682
- sbtTestCommand = " adjunctJVM/test;baseJVM/test;confluentJVM/test;coreJVM/test;dataJVM/test;expr0JVM/test;expr1JVM/test; exprJVM/test;geomJVM/test;lucre-bdb/test;testsJVM/test" ,
678
+ sbtTestCommand = " adjunctJVM/test;baseJVM/test;confluentJVM/test;coreJVM/test;dataJVM/test;exprJVM/test;geomJVM/test;lucre-bdb/test;testsJVM/test" ,
683
679
extraSbtArgs = List (" -Dde.sciss.lucre.ShortTests=true" ),
684
- sbtPublishCommand = " adjunctJVM/publishLocal;baseJVM/publishLocal;confluentJVM/publishLocal;coreJVM/publishLocal;dataJVM/publishLocal;expr0JVM/publishLocal;expr1JVM/publishLocal; exprJVM/publishLocal;geomJVM/publishLocal;lucre-bdb/publishLocal" ,
680
+ sbtPublishCommand = " adjunctJVM/publishLocal;baseJVM/publishLocal;confluentJVM/publishLocal;coreJVM/publishLocal;dataJVM/publishLocal;exprJVM/publishLocal;geomJVM/publishLocal;lucre-bdb/publishLocal" ,
685
681
dependencies = () => List (scalaSTM, scissAsyncFile, scissEqual, scissFingerTree, scissLog, scissModel, scissNumbers, scissSerial, scissSpan, scalatest),
686
682
)
687
683
@@ -711,6 +707,7 @@ object projects:
711
707
""" set actorTests/Compile/scalacOptions -= "-Xfatal-warnings"""" ,
712
708
" akka-actor-tests/Test/compile" ,
713
709
).mkString(" ; " ),
710
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Ysafe-init" ),
714
711
dependencies = () => List (scalatest, scalatestplusJunit, scalatestplusScalacheck)
715
712
)
716
713
@@ -761,6 +758,7 @@ object projects:
761
758
project = " fs2" ,
762
759
sbtTestCommand = " coreJVM/test; coreJS/test" , // io/test requires JDK9+
763
760
sbtPublishCommand = " coreJVM/publishLocal; coreJS/publishLocal" ,
761
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Ysafe-init" ),
764
762
dependencies = () => List (cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits)
765
763
)
766
764
@@ -789,9 +787,18 @@ object projects:
789
787
project = " spire" ,
790
788
sbtTestCommand = " test" ,
791
789
sbtPublishCommand = " publishLocal" ,
790
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Xcheck-macros" ),
792
791
dependencies = () => List (cats, disciplineMunit)
793
792
)
794
793
794
+ lazy val http4s = SbtCommunityProject (
795
+ project = " http4s" ,
796
+ sbtTestCommand = " tests/test; server/test; client/test; ember-core/test; ember-server/test; ember-client/test; circe/test" ,
797
+ sbtPublishCommand = " publishLocal" ,
798
+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Ysafe-init" ),
799
+ dependencies = () => List (cats, catsEffect3, fs2, disciplineMunit, scalacheckEffect)
800
+ )
801
+
795
802
end projects
796
803
797
804
lazy val forwardCompatMapping = Map [CommunityProject , CommunityProject ](
@@ -824,7 +831,6 @@ def allProjects = List(
824
831
projects.cask,
825
832
projects.scas,
826
833
projects.intent,
827
- projects.algebra,
828
834
projects.scalacheck,
829
835
projects.scalacheckForwardCompat,
830
836
projects.scalatest,
@@ -894,7 +900,9 @@ def allProjects = List(
894
900
projects.jacksonModuleScala,
895
901
projects.specs2,
896
902
projects.coop,
897
- projects.coopForwardCompat
903
+ projects.coopForwardCompat,
904
+ projects.spire,
905
+ projects.http4s
898
906
)
899
907
900
908
lazy val projectMap = allProjects.groupBy(_.project)
0 commit comments