Skip to content

Conversation

@hamzaremmal
Copy link
Member

This is the second step in the build changes. We previously introduced new projects for all the new artifacts. Now we remove all of the old ones (except scaladoc). This step is just removing, making the build easier to understand and avoid duplication will be in the upcoming PR (third step).

@hamzaremmal hamzaremmal marked this pull request as ready for review November 16, 2025 10:57
// Used to run binaries similar to ./bin/scala script
val scala = inputKey[Unit]("run compiled binary using the correct classpath, or the user supplied classpath")

val repl = taskKey[Unit]("spawns a repl with the correct classpath")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have some replacements for these tasks or maybe these were broken and unusable already?
For repl that likely just a console, what about the others?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You just have to run run in the scala3-repl :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I've refered to scala, buildQuick, genDocs and packageAll

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they were removed as they are/were not relevant anymore. For genDocs, scaladoc is a mess and that is the reason why we still have scaladoc and scaladoc-new in the PR. So if a replacement is needed, it will be added when scaladoc is cleaner.

scriptedLaunchOpts ++= Seq(
s"-Dplugin.scalaVersion=${dottyVersion}",
s"-Dplugin.scala2Version=${stdlibVersion(Bootstrapped)}",
s"-Dplugin.scala2Version=2.13.16",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll forget to update this. There is also 1 more in ScalaLibraryPlugin, maybe let's use that one

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, there are two variables, not just one. It will be in the refactoring.

@hamzaremmal hamzaremmal merged commit 115125e into scala:main Nov 16, 2025
45 checks passed
@hamzaremmal hamzaremmal deleted the cleanup-build branch November 16, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants