Open victorpigmeo opened 1 year ago
The build script currently searches for Java 11 by default, but you can override this by passing a custom version (which is also what the CI build does), e.g. for Java 17:
./gradlew :server:installDist -PjavaVersion=17
The mechanism for this is Gradle's toolchains, which are intended to provide a more deterministic build environment by pinning the Java version.
Hello, it is my first time trying kotling and since I use emacs I want a lsp server to connect but every try to build/install this server result in a error. I don´t know if I'm doing something wrong, it is also the first time I use gradle since the early days of android development on android studio 😅 I just
git clone
the repo and try the command, but doesn't matter what I input as arg to./gradlew
I got this same output. At first I thought it could be because I was using java installed bynix
but even usingsdkman
the error persists