Skip to content

Commit 68b4914

Browse files
authored
Avoid double configuration in scala2-library projects (#22637)
`withCommonSettings(Bootstrapped)` is equivalent to `settings(commonBootstrappedSettings)`
2 parents fb66f34 + 0d21a16 commit 68b4914

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: project/Build.scala

-2
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,6 @@ object Build {
12091209
lazy val `scala2-library-bootstrapped` = project.in(file("scala2-library-bootstrapped")).
12101210
withCommonSettings(Bootstrapped).
12111211
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
1212-
settings(commonBootstrappedSettings).
12131212
settings(scala2LibraryBootstrappedSettings).
12141213
settings(moduleName := "scala2-library")
12151214
// -Ycheck:all is set in project/scripts/scala2-library-tasty-mima.sh
@@ -1221,7 +1220,6 @@ object Build {
12211220
lazy val `scala2-library-cc` = project.in(file("scala2-library-cc")).
12221221
withCommonSettings(Bootstrapped).
12231222
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
1224-
settings(commonBootstrappedSettings).
12251223
settings(scala2LibraryBootstrappedSettings).
12261224
settings(
12271225
moduleName := "scala2-library-cc",

0 commit comments

Comments
 (0)