Skip to content

Commit

Permalink
chore: require Gradle 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
John Engelman committed Feb 25, 2023
1 parent c24d6d0 commit 572f6ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 572f6ff

Please sign in to comment.