Skip to content

Commit 5e75cb1

Browse files
committed
Update README to reflect that we require Java 11 (fixes #1690).
1 parent 7f331a8 commit 5e75cb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugin-gradle/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ All the generic steps live in [`FormatExtension`](https://javadoc.io/doc/com.dif
132132

133133
### Requirements
134134

135-
Spotless requires JRE 8+, and Gradle 6.1.1+. Some steps require JRE 11+, `Unsupported major.minor version` means you're using a step that needs a newer JRE.
135+
Spotless requires JRE 11+ and Gradle 6.1.1 or newer.
136136

137-
If you're stuck on an older version of Gradle, `id 'com.diffplug.gradle.spotless' version '4.5.1'` supports all the way back to Gradle 2.x.
137+
- If you're stuck on JRE 8, use [`id 'com.diffplug.spotless' version '6.13.0'` or older](https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md#6130---2023-01-14).
138+
- If you're stuck on an older version of Gradle, [`id 'com.diffplug.gradle.spotless' version '4.5.1'` supports all the way back to Gradle 2.x](https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md#451---2020-07-04).
138139

139140
<a name="applying-to-java-source"></a>
140141

plugin-maven/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Spotless consists of a list of formats (in the example above, `misc` and `java`)
137137

138138
### Requirements
139139

140-
Spotless requires Maven to be running on JRE 8+.
140+
Spotless requires Maven to be running on JRE 11+. To use JRE 8, go back to [`2.30.0` or older](https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md#2300---2023-01-13).
141141

142142
<a name="applying-to-java-source"></a>
143143

0 commit comments

Comments
 (0)