Skip to content

Commit a2dc07b

Browse files
committed
Added scalatestModules that aggregates jvm modules.
1 parent 6609bcf commit a2dc07b

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ lazy val scalatestDiagrams = ScalatestBuild.scalatestDiagrams
6060
lazy val scalatestMatchersCore = ScalatestBuild.scalatestMatchersCore
6161
lazy val scalatestShouldMatchers = ScalatestBuild.scalatestShouldMatchers
6262
lazy val scalatestMustMatchers = ScalatestBuild.scalatestMustMatchers
63+
lazy val scalatestModules = ScalatestBuild.scalatestModules
6364
lazy val scalatestCoreJS = ScalatestBuild.scalatestCoreJS
6465
lazy val scalatestFeatureSpecJS = ScalatestBuild.scalatestFeatureSpecJS
6566
lazy val scalatestFlatSpecJS = ScalatestBuild.scalatestFlatSpecJS

project/scalatest.scala

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,30 @@ object ScalatestBuild extends BuildCommons with DottyBuild with NativeBuild with
10771077
"Bundle-DocURL" -> "http://www.scalatest.org/",
10781078
"Bundle-Vendor" -> "Artima, Inc."
10791079
)
1080-
).dependsOn(scalatestMatchersCore)
1080+
).dependsOn(scalatestMatchersCore)
1081+
1082+
lazy val scalatestModules = (project in file("modules/jvm/modules-aggregation"))
1083+
.settings(sharedSettings: _*)
1084+
.settings(
1085+
publishArtifact := false,
1086+
publish := {},
1087+
publishLocal := {},
1088+
scalacOptions in (Compile, doc) := List.empty
1089+
).aggregate(
1090+
scalatestCompatible,
1091+
scalatestCore,
1092+
scalatestFeatureSpec,
1093+
scalatestFlatSpec,
1094+
scalatestFreeSpec,
1095+
scalatestFunSuite,
1096+
scalatestPropSpec,
1097+
scalatestRefSpec,
1098+
scalatestWordSpec,
1099+
scalatestDiagrams,
1100+
scalatestMatchersCore,
1101+
scalatestShouldMatchers,
1102+
scalatestMustMatchers
1103+
)
10811104

10821105
def gentestsLibraryDependencies =
10831106
Seq(

0 commit comments

Comments
 (0)