Skip to content

Commit

Permalink
Avoid double configuration in scala2-library projects (#22637)
Browse files Browse the repository at this point in the history
`withCommonSettings(Bootstrapped)` is equivalent to
`settings(commonBootstrappedSettings)`
  • Loading branch information
hamzaremmal authored Feb 21, 2025
2 parents fb66f34 + 0d21a16 commit 68b4914
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,6 @@ object Build {
lazy val `scala2-library-bootstrapped` = project.in(file("scala2-library-bootstrapped")).
withCommonSettings(Bootstrapped).
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
settings(commonBootstrappedSettings).
settings(scala2LibraryBootstrappedSettings).
settings(moduleName := "scala2-library")
// -Ycheck:all is set in project/scripts/scala2-library-tasty-mima.sh
Expand All @@ -1221,7 +1220,6 @@ object Build {
lazy val `scala2-library-cc` = project.in(file("scala2-library-cc")).
withCommonSettings(Bootstrapped).
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
settings(commonBootstrappedSettings).
settings(scala2LibraryBootstrappedSettings).
settings(
moduleName := "scala2-library-cc",
Expand Down

0 comments on commit 68b4914

Please sign in to comment.