Hi Jochen, javac doesn't allow you to compile a code with -source 1.7 and -target 1.6 you have to use a tool like ASM for that and i think it was rule out by Cedric or Guillaume.
cheers, Rémi ----- Mail original ----- > De: "Jochen Theodorou" <[email protected]> > À: [email protected] > Envoyé: Vendredi 8 Juillet 2016 09:43:59 > Objet: Re: JDK version for Groovy > > > > On 08.07.2016 09:10, Jochen Theodorou wrote: > > > > > > On 07.07.2016 17:25, Cédric Champeau wrote: > >> Gradle 3.0 will require JDK 7. Gradle 2.x can run on JDK 6. I'm not a > >> big fan of "backporting". To me it's easier to complete 2.5 with JDK 7 > >> now, then switch master to 3.0 and upgrade to JDK 8 there. > > > > Gradle 3 is the only reason to even make the switch from JDK6 to JDK8. I > > imagine if we would not want to use Gradle3 we would still switch to > > JDK8 or newer in Groovy 3, but stay with JDK6 otherwise. > > actually maybe there has been a misunderstanding.. if we want to use > JDK7 to build but still target JDK6 as target bytecode level I am for it > actually. > > The Groovy 3 story would be different though. Here we would produce JDK8 > bytecode and use JDK8 source code features > > bye Jochen >
