Skip to content

Commit

Permalink
Removed IntelliJ plugin block from readme
Browse files Browse the repository at this point in the history
As [mentioned in #726](#726 (comment))
  • Loading branch information
dinomite authored Sep 12, 2024
1 parent 7fc6fe2 commit 7875e2b
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,32 +238,6 @@ ktlint {
```
</details>

### IntelliJ Idea Only Plugin

**Note:** This plugin is automatically applied by the main `ktlint` plugin.

This plugin just adds [special tasks](#additional-helper-tasks) that can generate IntelliJ IDEA codestyle
rules using ktlint.

#### Idea plugin simple setup

Build script snippet for new plugin mechanism introduced in Gradle 2.1:
```kotlin
plugins {
id("org.jlleitschuh.gradle.ktlint-idea") version "<current_version>"
}
```

#### Idea plugin setup using legacy apply method

For all Gradle versions:

Use the same `buildscript` logic as [above](#simple-setup), but with this instead of the above suggested `apply` line. If you also want the GIT pre-commit gradle tasks, keep both `apply` variations.

```groovy
apply plugin: "org.jlleitschuh.gradle.ktlint-idea"
```

### Configuration
The following configuration block is _optional_.

Expand Down

0 comments on commit 7875e2b

Please sign in to comment.