I'm using JDK-14 for a project with preview enabled (when compiling with gradle) so I can test and leverage new feature like record for example. When I build the project all goes well, there is no problem there.
coc-java in the other hand is no picking gradle configuration that explicitly says --enable-preview so I have this error [Java 4195409] [E] The preview feature Records is only available with source level 15 and above .
Is there any way to tell explicitly JDTLS to enable preview mode for the java version I'm using?
I'm using JDK-14 for a project with preview enabled (when compiling with
gradle) so I can test and leverage new feature likerecordfor example. When I build the project all goes well, there is no problem there.coc-javain the other hand is no pickinggradleconfiguration that explicitly says--enable-previewso I have this error[Java 4195409] [E] The preview feature Records is only available with source level 15 and above.Is there any way to tell explicitly JDTLS to enable preview mode for the
javaversion I'm using?