Skip to content

Commit a719690

Browse files
committed
Merge branch 'main' into renovate/gradle-7.x
2 parents 45a3c8a + 8146bf7 commit a719690

File tree

32 files changed

+317
-107
lines changed

32 files changed

+317
-107
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,21 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1111

1212
## [Unreleased]
1313

14+
## [2.31.1] - 2023-01-02
15+
### Fixed
16+
* Improve memory usage when using git ratchet ([#1426](https://github.com/diffplug/spotless/pull/1426))
17+
* Support `ktlint` 0.48+ ([#1432](https://github.com/diffplug/spotless/pull/1432)) fixes ([#1430](https://github.com/diffplug/spotless/issues/1430))
18+
### Changes
19+
* Bump default `ktlint` version to latest `0.47.1` -> `0.48.0` ([#1432](https://github.com/diffplug/spotless/pull/1432))
20+
* Bump default `ktfmt` version to latest `0.41` -> `0.42` ([#1421](https://github.com/diffplug/spotless/pull/1421))
21+
1422
## [2.31.0] - 2022-11-24
1523
### Added
1624
* `importOrder` now support groups of imports without blank lines ([#1401](https://github.com/diffplug/spotless/pull/1401))
1725
### Fixed
1826
* Don't treat `@Value` as a type annotation [#1367](https://github.com/diffplug/spotless/pull/1367)
1927
* Support `ktlint_disabled_rules` in `ktlint` 0.47.x [#1378](https://github.com/diffplug/spotless/pull/1378)
28+
* Share git repositories across projects when using ratchet ([#1426](https://github.com/diffplug/spotless/pull/1426))
2029
### Changes
2130
* Bump default `ktfmt` version to latest `0.40` -> `0.41` ([#1340](https://github.com/diffplug/spotless/pull/1340))
2231
* Bump default `scalafmt` version to latest `3.5.9` -> `3.6.1` ([#1373](https://github.com/diffplug/spotless/pull/1373))

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For the folders below in monospace text, they are published on maven central at
3636
| `lib-extra` | Contains the optional parts of Spotless which require external dependencies. `LineEnding.GIT_ATTRIBUTES` won't work unless `lib-extra` is available. |
3737
| `plugin-gradle` | Integrates spotless and all of its formatters into Gradle. |
3838
| `plugin-maven` | Integrates spotless and all of its formatters into Maven. |
39-
| _ext | Folder for generating glue jars (specifically packaging Eclipse jars from p2 for consumption using maven).
39+
| `_ext` | Folder for generating glue jars (specifically packaging Eclipse jars from p2 for consumption using maven).
4040

4141
## How to add a new FormatterStep
4242

@@ -119,7 +119,7 @@ There are many great formatters (prettier, clang-format, black, etc.) which live
119119

120120
Because of Spotless' up-to-date checking and [git ratcheting](https://github.com/diffplug/spotless/tree/main/plugin-gradle#ratchet), Spotless actually doesn't have to call formatters very often, so even an expensive shell call for every single invocation isn't that bad. Anything that works is better than nothing, and we can always speed things up later if it feels too slow (but it probably won't).
121121

122-
## How to enable the _ext projects
122+
## How to enable the `_ext` projects
123123

124124
The `_ext` projects are disabled per default, since:
125125

_ext/eclipse-cdt/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `9.9.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Fix typo in gradle variable names ([#1425](https://github.com/diffplug/spotless/pull/1425))
68

79
## [10.5.0] - 2021-12-13
810
### Added

_ext/eclipse-cdt/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ apply from: rootProject.file('gradle/java-publish.gradle')
1717

1818

1919
dependencies {
20-
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLISPE_BASE}"
20+
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLIPSE_BASE}"
2121
// Provides text partitioners for formatters
22-
implementation ("org.eclipse.platform:org.eclipse.jface.text:${VER_ECLISPE_JFACE}") {
22+
implementation ("org.eclipse.platform:org.eclipse.jface.text:${VER_ECLIPSE_JFACE}") {
2323
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
2424
}
2525
// Required to by CCorePlugin calling CDTLogWriter
2626
implementation "com.ibm.icu:icu4j:${VER_IBM_ICU}"
2727
// Required to by CCorePlugin calling PositionTrackerManager
28-
implementation "org.eclipse.platform:org.eclipse.core.filebuffers:${VER_ECLISPE_EFS}"
28+
implementation "org.eclipse.platform:org.eclipse.core.filebuffers:${VER_ECLIPSE_EFS}"
2929

3030
testImplementation("org.slf4j:slf4j-simple:${VER_SLF4J}")
3131
}

_ext/eclipse-cdt/gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VER_JAVA=11
66

77
# Compile dependencies
88
VER_ECLIPSE_CDT=10.5
9-
VER_SPOTLESS_ECLISPE_BASE=[3.5.0,4.0.0[
10-
VER_ECLISPE_JFACE=[3.18.0,4.0.0[
11-
VER_ECLISPE_EFS=[3.7.0,4.0.0[
9+
VER_SPOTLESS_ECLIPSE_BASE=[3.5.0,4.0.0[
10+
VER_ECLIPSE_JFACE=[3.18.0,4.0.0[
11+
VER_ECLIPSE_EFS=[3.7.0,4.0.0[
1212
VER_IBM_ICU=[67.1,68[

_ext/eclipse-groovy/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.5.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Fix typo in gradle variable names ([#1425](https://github.com/diffplug/spotless/pull/1425))
68

79
## [4.3.0] - 2021-10-13
810
### Added

_ext/eclipse-groovy/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ apply from: rootProject.file('_ext/gradle/p2-fat-jar-setup.gradle')
3939
apply from: rootProject.file('gradle/java-publish.gradle')
4040

4141
dependencies {
42-
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLISPE_BASE}"
42+
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLIPSE_BASE}"
4343
// Provides text partitioners for formatters
44-
implementation ("org.eclipse.platform:org.eclipse.jface.text:${VER_ECLISPE_JFACE}") {
44+
implementation ("org.eclipse.platform:org.eclipse.jface.text:${VER_ECLIPSE_JFACE}") {
4545
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
4646
}
4747
testImplementation("org.slf4j:slf4j-simple:${VER_SLF4J}")

_ext/eclipse-groovy/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ VER_JAVA=11
66

77
# Compile
88
VER_ECLIPSE=4.21
9-
VER_SPOTLESS_ECLISPE_BASE=[3.4.2,4.0.0[
10-
VER_ECLISPE_JFACE=[3.15.300,4.0.0[
9+
VER_SPOTLESS_ECLIPSE_BASE=[3.4.2,4.0.0[
10+
VER_ECLIPSE_JFACE=[3.15.300,4.0.0[
1111
VER_GRECLIPSE=4.3.0
1212
VER_GROOVY=4.0.0
1313
# Use org.eclipse.jdt.core patched for Groovy-Eclipse

_ext/eclipse-jdt/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ext {
1010
}
1111

1212
dependencies {
13-
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLISPE_BASE}"
13+
implementation "com.diffplug.spotless:spotless-eclipse-base:${VER_SPOTLESS_ECLIPSE_BASE}"
1414
implementation("org.eclipse.jdt:org.eclipse.jdt.core:${VER_ECLIPSE_JDT_CORE}") {
1515
exclude group: 'org.eclipse.platform', module: 'org.eclipse.ant.core'
1616
exclude group: 'org.eclipse.platform', module: 'org.eclipse.core.expressions'

_ext/eclipse-jdt/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ VER_JAVA=11
66

77
# Compile
88
VER_ECLIPSE_JDT_CORE=[3.13.0,4.0.0[
9-
VER_SPOTLESS_ECLISPE_BASE=[3.5.0,4.0.0[
9+
VER_SPOTLESS_ECLIPSE_BASE=[3.5.0,4.0.0[

0 commit comments

Comments
 (0)