CommandAPI icon indicating copy to clipboard operation
CommandAPI copied to clipboard

The documentation should update its instructions for Gradle shadow for Java 21

Open JorelAli opened this issue 1 year ago • 0 comments

Documentation URL

https://commandapi.jorel.dev/9.5.0/setup_shading.html#shading-with-gradle

What the documentation currently says

The documentation declares this:

plugins {
    id 'java'
    id 'com.github.johnrengelman.shadow' version '7.1.2'
}

This is incompatible with Java 21

Proposed fix

We should look at pointing to the Goooler shadow fork

  id 'java'
  id 'io.github.goooler.shadow' version '8.1.7'

JorelAli avatar Jun 23 '24 22:06 JorelAli