LuckPerms

LuckPerms

41.4k Downloads

Gradle not building

Vareska opened this issue · 3 comments

commented

Description

Gradle command "./gradlew build" throws an error stating:

$ ./gradlew build

←[1A
←[31mFAILURE: ←[39m←[31mBuild failed with an exception.←[39m

  • Where:
    Settings file 'C:\Users\User\Downloads\BuildTools\LuckPerms\settings.gradle'

  • What went wrong:
    Could not compile settings file 'C:\Users\Njowi\Downloads\BuildTools\LuckPerms\settings.gradle'.
    ←[33m> ←[39mstartup failed:
    General error during semantic analysis: Unsupported class file major version 60

Reproduction steps

run ./gradlew build in git bash or run the gradlew.bat file

Expected behaviour

build LuckPerms.jar file

Environment details

Windows 10 latest version

Spigot 1.17

Any other relevant details

commented

Ensure you are using Java 16 to build.

commented

I am using Java 16.

commented

You need to use Java 8+ for now, Gradle 6.8 doesn't support Java 16. A PR that updates the gradle wrapper is already open #3051