Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: scalafixResolvers can only be set at ThisBuild level #410

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Apr 17, 2024

Follows #404

@@ -58,11 +58,11 @@ object ScalafixPlugin extends AutoPlugin {
val scalafixResolvers: SettingKey[Seq[Repository]] =
settingKey[Seq[Repository]](
"Optional list of Maven/Ivy repositories to use for fetching custom rules. " +
"Can be set in ThisBuild or at project-level."
"Must be set in ThisBuild."
Copy link
Collaborator Author

@bjaglin bjaglin Apr 17, 2024

Choose a reason for hiding this comment

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

)
val scalafixDependencies: SettingKey[Seq[ModuleID]] =
settingKey[Seq[ModuleID]](
"Optional list of custom rules to install from Maven Central. " +
"Optional list of artifacts to resolve to run custom rules. " +
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

unrelated change, but the explicit mention of Maven Central seems harmful

@bjaglin bjaglin changed the title scalafixResolvers can only be set at ThisBuild level docs: scalafixResolvers can only be set at ThisBuild level Apr 17, 2024
@bjaglin bjaglin marked this pull request as ready for review April 17, 2024 13:20
@bjaglin bjaglin merged commit 9a58786 into main Apr 17, 2024
6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant