Well,
In Gradle you need to add the '--enable-preview' jvm arg to multiple
places in Gradle (compiler, test runner, and the Java Exec itself). The
most elegant way doing that is adding a plugin to the Gradle project
which takes care of the internals.
The plugin can be a public one (I'd proba
Good point. :-)
Gj
On Mon, 20 May 2019 at 13:36, Neil C Smith wrote:
> On Mon, 20 May 2019 at 12:10, Geertjan Wielenga
> wrote:
> > Not sure either, but if there’s no way (Laszlo might be able to advise
> > here) to set “enable-preview” on project level, then global (at least as
> a
> > fallba
On Mon, 20 May 2019 at 12:10, Geertjan Wielenga wrote:
> Not sure either, but if there’s no way (Laszlo might be able to advise
> here) to set “enable-preview” on project level, then global (at least as a
> fallback) would seem to be the only way to go.
I was suggesting (badly) that somewhere in
Not sure either, but if there’s no way (Laszlo might be able to advise
here) to set “enable-preview” on project level, then global (at least as a
fallback) would seem to be the only way to go.
Gj
On Mon, 20 May 2019 at 12:24, Neil C Smith wrote:
> On Mon, 20 May 2019 at 11:12, Geertjan Wieleng
On Mon, 20 May 2019 at 11:12, Geertjan Wielenga wrote:
> Maybe read “enable-preview” as a fallback in netbeans.conf? I.e., if not
> set anywhere else, check in netbeans.conf for -J-Denable-preview and, if
> present, apply to all Java projects, which would include Gradle projects?
If you really wa
Maybe read “enable-preview” as a fallback in netbeans.conf? I.e., if not
set anywhere else, check in netbeans.conf for -J-Denable-preview and, if
present, apply to all Java projects, which would include Gradle projects?
Not 100% sure, but just an idea.
Gj
On Mon, 20 May 2019 at 11:47, Arunava S
Hi,
I tried org.gradle.jvmargs=--enable-preview. It didn't worked.
Considering the scenarios as there and n number of ways to specify jvm
parms for compilation/run and also currently support is not present to
read/write gradle configuration from the plugin. I would choose to not
provide the h
How is what’s being discussed different from a “gradle template” type scenario?
That said, where in the code are the “hints API” locates? Where does a given
hint get it’s possible options?
As I understand Gradle, it’s a flavor of groovy coding with some DSL build
specifics for the Gradle domain
Hi,
What about adding (or requesting to add)
org.gradle.jvmargs=--enable-preview
inside gradle.settings? Would that do?
Cheers,
Antonio
El 19/5/19 a las 8:16, Laszlo Kishalmi escribió:
I'm replying through the dev mailing list as others could help and/or
comment that way.
In my per
I'm replying through the dev mailing list as others could help and/or
comment that way.
In my personal point of view as Gradle build scripts are read-only. The
are wide variety of those files out there.
An editor hint might work. Though detecting if the given compiler arg is
set for a source
10 matches
Mail list logo