Thanks all. I created a new Gradle 7.2 multiproject build and imported my sources to it. That seems to have worked.
On Thu, 25 Jan 2024 at 20:51, Giles Winstanley <[email protected]> wrote: > Aside from Laszlo's suggestion to use Java 17, since you seem to be in a > position to choose your Gradle version, I suggest trying Gradle 8.5, which > has better support for *running* on Java 21. Gradle 8.4 can build a Java 21 > project, but must itself run on Java <21. With Gradle 8.5 you can do both, > which simplifies things (and it also supports Java 17, etc.). > > Regarding the migration from older Gradle, Eric's suggestion to look at > the Gradle docs is a good one. Pay attention to the (sometimes a little > cryptic) Gradle build warnings and you'll become informed. Recent versions > of Gradle are keen to ensure strong task input/output declaration. Also I > recommend using the newer task definition style (e.g. > tasks.register('myCopyTask', Copy) {...}) and updating references for > buildDirectory/libsDirectory/etc. which have been updated and will likely > show warnings. > > Stan > > On 25/01/2024 02:13, Owen Thomas wrote: > > I've only got version 21 of Java, and I want to upgrade to gradle 8.? > don't I? > > > > On Thu, 25 Jan 2024 at 13:11, Owen Thomas <[email protected]> > wrote: > >> How do I do that? >> >> On Thu, 25 Jan 2024 at 13:07, Laszlo Kishalmi <[email protected]> >> wrote: >> >>> Set the Java Runtime Version for Gradle to Java 17 in NetBeans. >>> >>> On 1/24/24 17:43, Owen Thomas wrote: >>> > I'm thoroughly lost with Gradle. >>> > >>> > Can someone please tell me which version of Java I should use and >>> > version of this build tool I should upgrade to with the current >>> > release of Netbeans? >>> > >>> > This is all too frustrating. >>> > >>> > Owen. >>> >>> --------------------------------------------------------------------- >>> 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 >>> >>> > --------------------------------------------------------------------- > 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 > > >
