Skip to content

[2.x] fix: Preserve user-defined scalacOptions in doc task scope#8528

Merged
eed3si9n merged 2 commits intosbt:developfrom
MkDev11:fix/doc-scalacOptions-inheritance-7482
Jan 14, 2026
Merged

[2.x] fix: Preserve user-defined scalacOptions in doc task scope#8528
eed3si9n merged 2 commits intosbt:developfrom
MkDev11:fix/doc-scalacOptions-inheritance-7482

Conversation

@MkDev11
Copy link
Copy Markdown
Contributor

@MkDev11 MkDev11 commented Jan 14, 2026

Fixes #7482

Changed scalacOptions from := to ++= in docTaskSettings to preserve user-defined options like -no-link-warnings. Previously, the := operator was overriding any user customizations to Compile / doc / scalacOptions.


Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=94194147

Fixes sbt#7482

Changed scalacOptions from := to ++= in docTaskSettings to preserve
user-defined options like -no-link-warnings. Previously, the := operator
was overriding any user customizations to Compile / doc / scalacOptions.
@MkDev11
Copy link
Copy Markdown
Contributor Author

MkDev11 commented Jan 14, 2026

@eed3si9n please review the PR and let me know your feedback. thanks.

@eed3si9n eed3si9n changed the title fix: Preserve user-defined scalacOptions in doc task scope [2.x] fix: Preserve user-defined scalacOptions in doc task scope Jan 14, 2026
@eed3si9n eed3si9n merged commit 7b33362 into sbt:develop Jan 14, 2026
14 checks passed
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.

Ignore missing / broken link warning does not seem to work in newer sbt versions

2 participants