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

Removed IntelliJ plugin block from readme #775

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

### Fixed
- fix tests which relied on a third party reporter in jcenter [#772](https://github.com/JLLeitschuh/ktlint-gradle/pull/772)
- Remove IntelliJ plugin references from README [#775](https://github.com/JLLeitschuh/ktlint-gradle/pull/775)

## [12.1.1] - 2024-05-07

Expand Down
26 changes: 0 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,32 +281,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
Loading