Re: Gradle and JDK 11 issues

2018-11-06 Thread Emmanuel Bourg
Le 06/11/2018 à 04:29, Tiago Daitx a écrit : > I have updated the java11-compatibility patch by pulling more changes > from the upstream patch in commit ac15612d41b43c39c. > Let me know what you think. The patch looks good, thanks a lot for investigating this issue. Do you want to upload a gradl

Re: Gradle and JDK 11 issues

2018-11-05 Thread Tiago Daitx
Hi, I have updated the java11-compatibility patch by pulling more changes from the upstream patch in commit ac15612d41b43c39c. I basically pulled all the upstream changes in that commit done to subprojects/base-services/src/main/java/org/gradle/api/JavaVersion.java and reverted the previous debian

Re: Gradle and JDK 11 issues

2018-11-05 Thread Jose Gutierrez de la Concha
Hi Emmanuel, Thanks for the tip, I fixed zeroc-ice package to set the sourceCompatibility and targetCompatibility to 8 Best regards, José On Sun, Nov 4, 2018 at 12:03 AM Emmanuel Bourg wrote: > On 03/11/2018 23:36, Markus Koschany wrote: > > > I have fixed it like that in mockito but it still

Re: Gradle and JDK 11 issues

2018-11-03 Thread Emmanuel Bourg
On 03/11/2018 23:36, Markus Koschany wrote: > I have fixed it like that in mockito but it still feels like a > regression to me. sourceCompatibility and targetCompatibility had been > already set in build.gradle but now with OpenJDK 11 I have to specify it > in two other .gradle files as well. May

Re: Gradle and JDK 11 issues

2018-11-03 Thread Markus Koschany
Hi, Am 03.11.18 um 23:25 schrieb Emmanuel Bourg: [...] > For mockito (#910738) this issue has been fixed [1]. It seems to happen > when the build.gradle file doesn't specify the source/target level. Try > adding this: > > sourceCompatibility = 8 > targetCompatibility = 8 > > > Emmanuel Bour

Re: Gradle and JDK 11 issues

2018-11-03 Thread Emmanuel Bourg
Hi José, On 03/11/2018 19:05, Jose Gutierrez de la Concha wrote: > In all the bug reports I seeing the same "error: invalid source release: > 1.11" seems to come from gradle createCompileTask and unrelated to the > projects being compiled For mockito (#910738) this issue has been fixed [1]. It s