Raise the minimum supported version of Gradle to 4.4
Closes gh-14418
This commit is contained in:
@@ -37,7 +37,7 @@ Andy Wilkinson
|
||||
The Spring Boot Gradle Plugin provides Spring Boot support in https://gradle.org[Gradle],
|
||||
allowing you to package executable jar or war archives, run Spring Boot applications, and
|
||||
use the dependency management provided by `spring-boot-dependencies`. Spring Boot's
|
||||
Gradle plugin requires Gradle 4.0 or later.
|
||||
Gradle plugin requires Gradle 4.4 or later.
|
||||
|
||||
In addition to this user guide, {api-documentation}[API documentation] is also available.
|
||||
|
||||
|
||||
@@ -84,8 +84,8 @@ public class SpringBootPlugin implements Plugin<Project> {
|
||||
}
|
||||
|
||||
private void verifyGradleVersion() {
|
||||
if (GradleVersion.current().compareTo(GradleVersion.version("4.0")) < 0) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 4.0 or later."
|
||||
if (GradleVersion.current().compareTo(GradleVersion.version("4.4")) < 0) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 4.4 or later."
|
||||
+ " The current version is " + GradleVersion.current());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ import org.springframework.boot.loader.tools.FileUtils;
|
||||
*/
|
||||
class BootZipCopyAction implements CopyAction {
|
||||
|
||||
private static final long CONSTANT_TIME_FOR_ZIP_ENTRIES = new GregorianCalendar(1980,
|
||||
static final long CONSTANT_TIME_FOR_ZIP_ENTRIES = new GregorianCalendar(1980,
|
||||
Calendar.FEBRUARY, 1, 0, 0, 0).getTimeInMillis();
|
||||
|
||||
private final File output;
|
||||
|
||||
Reference in New Issue
Block a user