I use Gradle to configure Eclipse.
For JDK11 to be used as if it were JDK8 in Eclipse I have added:
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
tasks.withType(JavaCompile) {
options.compilerArgs.addAll(["--release", "8"])
}
}
On Mon, Jul 27, 2020 at 6:12 PM Shahram Zadeh <[email protected]>
wrote:
> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works
> perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been
> recently released. However Java 1.7 is retiring and getting obsolete we
> have to move on and upgrade. Since last week we are trying to create a
> development environment like the existing one but there is no success. I
> was wondering whether anyone out there is struggling with the same issue,
> any hint, solution or hacking the eclipse plugin would be greatly
> appreciated.
>
> Eclipse plugin comes with GWT (2.7 and 2.8.1)
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/1bdedb59-090d-4c8c-ba72-258e991ae060n%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit/1bdedb59-090d-4c8c-ba72-258e991ae060n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit/CAFHWztwN%3D%2BcH2DUNG56FvsNgqzTTBGs%3DLTT-GegwykR0zWyJ8Q%40mail.gmail.com.