From 572f6ff98ec03318bdf66c974fcc771d12997e23 Mon Sep 17 00:00:00 2001
From: John Engelman <john.engelman@target.com>
Date: Fri, 24 Feb 2023 18:07:26 -0600
Subject: [PATCH] chore: require Gradle 8+

---
 .../jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy
index 795afbee5..b367957d7 100644
--- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy
+++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy
@@ -13,8 +13,8 @@ class ShadowBasePlugin implements Plugin<Project> {
 
     @Override
     void apply(Project project) {
-        if (GradleVersion.current() < GradleVersion.version("7.0")) {
-            throw new GradleException("This version of Shadow supports Gradle 7.0+ only. Please upgrade.")
+        if (GradleVersion.current() < GradleVersion.version("8.0")) {
+            throw new GradleException("This version of Shadow supports Gradle 8.0+ only. Please upgrade.")
         }
         project.extensions.create(EXTENSION_NAME, ShadowExtension, project)
         createShadowConfiguration(project)