Skip to content

Commit e55aebf

Browse files
committed
Bump our minimum required gradle from 6.1 to 6.1.1.
1 parent 51dc51a commit e55aebf

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

plugin-gradle/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
55
## [Unreleased]
66
### Changed
77
* **BREAKING** Previously, many projects required `buildscript { repositories { mavenCentral() }}` at the top of their root project, because Spotless resolved its dependencies using the buildscript repositories. Spotless now resolves its dependencies from the normal project repositories of the root project, which means that you can remove the `buildscript {}` block, but you still need `repositories { mavenCentral() }` (or similar) in the root project.
8+
* Bump minimum required Gradle from `6.1` to `6.1.1`.
89

910
## [5.17.1] - 2021-10-26
1011
### Changed

plugin-gradle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ All the generic steps live in [`FormatExtension`](https://javadoc.io/doc/com.dif
130130

131131
### Requirements
132132

133-
Spotless requires JRE 8+, and Gradle 5.4+. Some steps require JRE 11+, `Unsupported major.minor version` means you're using a step that needs a newer JRE.
133+
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.
134134

135135
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`.
136136

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
public class SpotlessPlugin implements Plugin<Project> {
2626
static final String SPOTLESS_MODERN = "spotlessModern";
27-
static final String MINIMUM_GRADLE = "6.1";
27+
static final String MINIMUM_GRADLE = "6.1.1";
2828

2929
@Override
3030
public void apply(Project project) {

0 commit comments

Comments
 (0)