Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

docs: ScalafixInterface is now at project-level #385

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/main/scala/scalafix/sbt/ScalafixPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,17 @@ object ScalafixPlugin extends AutoPlugin {
val scalafixResolvers: SettingKey[Seq[Repository]] =
settingKey[Seq[Repository]](
"Optional list of Maven/Ivy repositories to use for fetching custom rules. " +
"Must be set in ThisBuild."
"Can be set in ThisBuild or at project-level."
)
val scalafixDependencies: SettingKey[Seq[ModuleID]] =
settingKey[Seq[ModuleID]](
"Optional list of custom rules to install from Maven Central. " +
"Must be set in ThisBuild."
"Can be set in ThisBuild or at project-level."
)
val scalafixScalaBinaryVersion: SettingKey[String] =
settingKey[String](
"The Scala binary version used for scalafix execution. Must be set in ThisBuild. "
+ "Defaults to 2.12. Rules must be compiled against that binary version, or for "
+ "advanced rules such as ExplicitResultTypes which have a full cross-version, "
+ "against the corresponding full version that scalafix is built against."
"The Scala binary version used for scalafix execution. Can be set in ThisBuild or at project-level. " +
"Custom rules must be compiled against that binary version. Defaults to 2.12."
)
val scalafixConfig: SettingKey[Option[File]] =
settingKey[Option[File]](
Expand Down