Re: Gradle openjdk12 and --enable-preview

2019-08-01 Thread Laszlo Kishalmi
That was mentioned somewhere, but there is no JIRA issue on that. On 8/1/19 1:59 PM, Geertjan Wielenga wrote: I don’t think this is supported yet by our Gradle integration, best to create an issue. Gj On Thu, 1 Aug 2019 at 16:31, Helmut Leininger > wrote: Hi,

Re: Gradle openjdk12 and --enable-preview

2019-08-01 Thread Geertjan Wielenga
I don’t think this is supported yet by our Gradle integration, best to create an issue. Gj On Thu, 1 Aug 2019 at 16:31, Helmut Leininger wrote: > Hi, > > I want to use the preview features in the Gradle project. > > in build.grdle I specified: > > compileJava { > options.compilerArgs << '--

Gradle openjdk12 and --enable-preview

2019-08-01 Thread Helmut Leininger
Hi, I want to use the preview features in the Gradle project. in build.grdle I specified: compileJava {     options.compilerArgs << '--enable-preview' } run {     jvmArgs(['--enable-preview']) } In the  program I am using the new swich format: switch (string) {     case"a123" -> System.out.pr