Skip to content

Commit 2436018

Browse files
Merge pull request #1139 from bjaglin/sbt-sync
update doc about sbt-scalafix tasks/settings (as of 0.9.16)
2 parents e6cd998 + 3b8d203 commit 2436018

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/users/installation.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,13 @@ Great! You are all set to use Scalafix with sbt :)
148148
149149
### Settings and tasks
150150
151-
| Name | Type | Description |
152-
| ----------------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
153-
| `scalafix <args>` | `InputTaskKey[Unit]` | Invoke scalafix command line interface directly. Use tab completion to explore supported arguments or consult [--help](#help) |
154-
| `scalafixConfig` | `SettingKey[Option[File]]` | .scalafix.conf file to specify which scalafix rules should run. Defaults to `.scalafix.conf` in the root directory, if it exists. |
151+
| Name | Type | Description
152+
| ---- | ---- | -----------
153+
| `scalafix <args>` | `InputTaskKey[Unit]` | Invoke scalafix command line interface directly. Use tab completion to explore supported arguments or consult [--help](#help).
154+
| `scalafixCaching` | `SettingKey[Boolean]` | Controls whether 2 successive invocations of the `scalafix` `InputTask` with the same arguments & configuration should be incremental. Defaults to `false` (still experimental, known false positives and false negatives cache hits, please report your own experience). When enabled, use the `--no-cache` argument to force an exhaustive run.
155+
| `scalafixConfig` | `SettingKey[Option[File]]` | `.scalafix.conf` file to specify which scalafix rules should run, together with their potential options. Defaults to `.scalafix.conf` in the root directory, if it exists.
156+
| `scalafixDependencies` | `SettingKey[Seq[ModuleID]]` | Dependencies making [custom rules](#run-custom-rules) available via their simple name. Must be set in `ThisBuild`. Defaults to `Nil`.
157+
| `scalafixResolvers` | `SettingKey[Seq[Repository]]` | Custom resolvers where `scalafixDependencies` are resolved from. Must be set in `ThisBuild`. Defaults to: Ivy2 local, Maven Central, Sonatype releases & Sonatype snapshots.
155158
156159
### Main and test sources
157160

0 commit comments

Comments
 (0)