Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Roggstars committed Nov 26, 2024
1 parent 6a86702 commit b256e5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ By default, `ktfmt-gradle` will add two Gradle tasks to your build:

Those two tasks will invoke `ktfmt` on the **whole module**. More specific tasks are avialable based on the module type.

Additionally, the plugin will create check/format tasks for top-level Kotlin script files:

- `ktfmtCheckScript` that will check if the top-level script files in your module is ktfmt-compliant
- `ktfmtFormatScript` that will reformat top-level script files with ktfmt

#### Jvm/Js Modules

For Jvm/Js modules, the plugin will create a check/format task for **every source set**. For example, jvm modules will
Expand Down

0 comments on commit b256e5d

Please sign in to comment.