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 <[email protected]> wrote: > On Mon, 20 May 2019 at 11:12, Geertjan Wielenga <[email protected]> > 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 wanted it as a global property (not sure!), maybe > somewhere in build.properties as a key related to the chosen Java > platform? eg. platforms.JDK_12.enable-preview=true > > Best wishes, > > Neil > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
