Thanks! Going to file a PR soon> BTW: Gradle 8.0-rc-1 is on master.
On Tue, Jan 10, 2023 at 4:30 PM Scott Palmer <[email protected]> wrote: > I just noticed that the injected 'runSingle' task seems to provoke this > warning" > > > Task :app:runSingle > Hello World! > > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 8.0. > > That's running the Java file from NetBeans with Gradle 7.5 via the > Gradle Wrapper. Doing a 'clean build' gives no such warning. > Gradle 8.0-rc-1 is already available, so we better get on this stuff... > > I changed the run.single parameters to add '--warning-mode all > --stacktrace' > to get more specific information: > > The JavaExec.main property has been deprecated. This is scheduled to be > removed in Gradle 8.0. Please use the mainClass property instead. See > > https://docs.gradle.org/7.5/dsl/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:main > for more details. > at org.gradle.api.tasks.JavaExec.setMain(JavaExec.java:427) > at org.gradle.api.tasks.JavaExec_Decorated.setMain(Unknown Source) > at > > org.netbeans.modules.gradle.tooling.NetBeansRunSinglePlugin.lambda$addTask$2(NetBeansRunSinglePlugin.java:85) > > I filed issue #5267 <https://github.com/apache/netbeans/issues/5267> > and created pull-request #5268 > <https://github.com/apache/netbeans/pull/5268> > > Cheers, > > Scott >
