Skip to content

How to properly add 1.20.5 branch dependency? #2129

Answered by cosrnic
boxic asked this question in Help
Discussion options

You must be logged in to vote

You need to use java 21, try adding

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(21))

    }
}

to your build.gradle.kts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@boxic
Comment options

Answer selected by boxic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants