Skip to content

Commit 6716228

Browse files
authored
Add equoIde task to make eclipse setup easier (#1523)
2 parents 2872741 + 2a54d84 commit 6716228

File tree

6 files changed

+25
-6
lines changed

6 files changed

+25
-6
lines changed

Diff for: CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ This document is intended for Spotless developers.
1010
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
1111

1212
## [Unreleased]
13+
### Added
14+
* `gradlew equoIde` opens a repeatable clean Spotless dev environment. ([#1523](https://github.com/diffplug/spotless/pull/1523))
15+
* `cleanthat` added `includeDraft` option, to include draft mutators from composite mutators. ([#1574](https://github.com/diffplug/spotless/pull/1574))
1316
### Fixed
1417
* `JacksonJsonFormatterFunc` handles json files with an Array as root. ([#1585](https://github.com/diffplug/spotless/pull/1585))
18+
### Changes
19+
* Bump default `cleanthat` version to latest `2.1` -> `2.6` ([#1569](https://github.com/diffplug/spotless/pull/1569) and [#1574](https://github.com/diffplug/spotless/pull/1574))
1520

1621
## [2.35.0] - 2023-02-10
1722
### Added

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing to Spotless
22

3-
Pull requests are welcome, preferably against `main`. Feel free to develop spotless any way you like.
3+
Pull requests are welcome, preferably against `main`. Feel free to develop spotless any way you like, but if you like Eclipse and Gradle Buildship then [`gradlew equoIde` will install an IDE and set it up for you](https://github.com/equodev/equo-ide).
44

55
## How Spotless works
66

Diff for: build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
plugins {
2+
// https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
3+
id 'dev.equo.ide' version '0.16.0'
4+
}
5+
equoIde {
6+
branding().title('Spotless').icon(file('_images/spotless_logo.png'))
7+
welcome().openUrl('https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md')
8+
gradleBuildship()
9+
}
10+
11+
repositories {
12+
mavenCentral()
13+
}
14+
115
apply from: rootProject.file('gradle/java-publish.gradle')
216
apply from: rootProject.file('gradle/changelog.gradle')
317
allprojects {

Diff for: lib/src/main/java/com/diffplug/spotless/json/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ParametersAreNonnullByDefault
22
@ReturnValuesAreNonnullByDefault
3-
package com.diffplug.spotless.extra.json.java;
3+
package com.diffplug.spotless.json;
44

55
import javax.annotation.ParametersAreNonnullByDefault;
66

Diff for: plugin-gradle/CHANGES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
44

55
## [Unreleased]
66
### Added
7-
* `cleanthat` now has `includeDraft` option, to include draft mutators from composite mutators ([#1574](https://github.com/diffplug/spotless/pull/1574))
7+
* `cleanthat` now has `includeDraft` option, to include draft mutators from composite mutators. ([#1574](https://github.com/diffplug/spotless/pull/1574))
88
### Fixed
99
* `json { jackson()` can now handle `Array` as a root element. ([#1585](https://github.com/diffplug/spotless/pull/1585))
1010
### Changes
11-
* Bump default `cleanthat` version to latest `2.1` -> `2.6` ([#1569](https://github.com/diffplug/spotless/pull/1569) and [#1574](https://github.com/diffplug/spotless/pull/1574))
11+
* Bump default `cleanthat` version to latest `2.1` -> `2.6`. ([#1569](https://github.com/diffplug/spotless/pull/1569) and [#1574](https://github.com/diffplug/spotless/pull/1574))
1212

1313
## [6.15.0] - 2023-02-10
1414
### Added

Diff for: plugin-maven/CHANGES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Added
7+
* `cleanthat` added `includeDraft` option, to include draft mutators from composite mutators. ([#1574](https://github.com/diffplug/spotless/pull/1574))
68
### Fixed
79
* `<json><jackson>` can now handle `Array` as a root element. ([#1585](https://github.com/diffplug/spotless/pull/1585))
8-
### Added
9-
* `cleanthat` added `includeDraft` option, to include draft mutators from composite mutators ([#XXX](https://github.com/diffplug/spotless/pull/XXX))
1010
### Changes
1111
* Bump default `cleanthat` version to latest `2.1` -> `2.6` ([#1569](https://github.com/diffplug/spotless/pull/1569) and [#1574](https://github.com/diffplug/spotless/pull/1574))
1212

0 commit comments

Comments
 (0)