From e2634b28cb064c9b8ec90b8946c0e885138c35e3 Mon Sep 17 00:00:00 2001 From: Guillaume Le Floch Date: Mon, 4 Oct 2021 14:52:50 +0200 Subject: [PATCH] Set mininal gradle version to 6.1 --- .../src/main/java/io/quarkus/gradle/QuarkusPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java index 1274a414b4f70..f30598226d53b 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java @@ -271,8 +271,8 @@ private void registerModel() { } private void verifyGradleVersion() { - if (GradleVersion.current().compareTo(GradleVersion.version("5.0")) < 0) { - throw new GradleException("Quarkus plugin requires Gradle 5.0 or later. Current version is: " + + if (GradleVersion.current().compareTo(GradleVersion.version("6.1")) < 0) { + throw new GradleException("Quarkus plugin requires Gradle 6.1 or later. Current version is: " + GradleVersion.current()); } }