eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
613 stars 145 forks source link

repaired xtend build. workaround for eclipse/xtext#1976 #557

Closed cdietrich closed 3 years ago

cdietrich commented 3 years ago

repaired xtend build. workaround for eclipse/xtext#1976 Signed-off-by: Christian Dietrich christian.dietrich@itemis.de

cdietrich commented 3 years ago

summary. platform and jdt have version ranges. these version ranges are considered by gradle to bee good and that its a good idea to pull the latest greatest core.runtime and equinix.common versions. these run with java 11 only but the build here runs with java 8, so this will explode.

so here i fix it by telling gradle to pull the versions are are intended to be used by gradle.

an alternative solution would be to run the build with java 11 against java 8 target

cdietrich commented 3 years ago

@jonahgraham you can find them here https://github.com/eclipse/xtext-lib/blob/d8f2aba7be9b515cf53e31d820d2f8bcd00de97d/org.eclipse.xtext.dev-bom/build.gradle#L64

jonahgraham commented 3 years ago

@jonahgraham you can find them here https://github.com/eclipse/xtext-lib/blob/d8f2aba7be9b515cf53e31d820d2f8bcd00de97d/org.eclipse.xtext.dev-bom/build.gradle#L64

That is a good place for them :-) thanks for the link