GradleUp / shadow

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
https://www.gradleup.com/shadow/
Apache License 2.0
3.77k stars 396 forks source link

Requires Java 11 #1009

Closed srnyx closed 3 weeks ago

srnyx commented 3 weeks ago

Expected and Results

The plugin should work on Java 8+ Instead, it requires Java 11+ since 8.3.4 8.3.3 works fine on Java 8+

Related environent and versions

Gradle wrapper: 8.10.2 Shadow: 8.3.4 OS: Windows 11

Reproduction steps

Use Shadow 8.3.4 with Java 8

Anything else?

A problem occurred configuring root project 'PROJECT'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve com.gradleup.shadow:shadow-gradle-plugin:8.3.4.
     Required by:
         root project : > com.gradleup.shadow:com.gradleup.shadow.gradle.plugin:8.3.4
      > Dependency requires at least JVM runtime version 11. This build uses a Java 8 JVM.