Skip to content

Conversation

@hamzaremmal
Copy link
Member

Remove classDirectory from scala3-library-* projects and some cleanups of the settings.

Closes #24703

@hamzaremmal hamzaremmal requested a review from Gedochao December 9, 2025 14:02
@hamzaremmal hamzaremmal added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Dec 9, 2025
@hamzaremmal hamzaremmal added this to the 3.8.0 milestone Dec 9, 2025
@Gedochao Gedochao assigned WojciechMazur and unassigned Gedochao Dec 9, 2025
Comment on lines -1247 to 1249
// Packaging configuration of the stdlib
Compile / packageBin / publishArtifact := true,
Compile / packageDoc / publishArtifact := false,
Compile / packageSrc / publishArtifact := true,
// Only publish compilation artifacts, no test artifacts
Compile / publishArtifact := true,
Test / publishArtifact := false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we start to deduplicate all the settings and set them in common settings group? Otherwise it's hard to review (need to expand the views to see to which projects given changes apply) and it's easy to forget about some. All of the published artifacts would use the same values for Compile/Test publishArtifacts, and multiple other settings.
We've had a dedicated publishSetting previously, it might be worthy to restore it.
Duplication of setting was useful during migration and to track changes, but it's hard to maintain

Copy link
Member Author

Choose a reason for hiding this comment

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

Not with all the backports that are happening at the moment.

@WojciechMazur WojciechMazur merged commit a227106 into scala:main Dec 14, 2025
46 checks passed
WojciechMazur added a commit that referenced this pull request Dec 21, 2025
Remove `classDirectory` from `scala3-library-*` projects and some
cleanups of the settings.

Closes #24703
[Cherry-picked a227106][modified]
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Dec 21, 2025
WojciechMazur added a commit that referenced this pull request Dec 22, 2025
Remove `classDirectory` from `scala3-library-*` projects and some
cleanups of the settings.

Closes #24703
[Cherry-picked a227106][modified]
WojciechMazur added a commit that referenced this pull request Dec 22, 2025
Backports #24714 to the 3.8.0-RC4.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected outputs in scala3-library_3:3.8.0-RC3 jar

3 participants