On Sun, 4 Feb 2024, 22:12 Ernie Rael, <err...@raelity.com> wrote: > On 24/02/04 7:11 AM, Neil C Smith wrote: > > On Thu, 25 Jan 2024 at 20:21, Ernie Rael<err...@raelity.com> wrote: > >> With NB-21-RC2, running on JDK-21, > >> doing: NewProject > JavaWithGradle > JavaClassLibrary > >> And there is the "resolve problems" icon. > >> > >> $ ./gradlew --version > >> Gradle 8.4 > > I presume you're running that from the IDE? > > > > Using that wizard checking the project files and using the CLI call to > > ./gradlew --version show Gradle 8.5 for me. But the IDE is using > > 8.4?! Until reopening / restarting the IDE anyway. > > I don't understand what you're asking/saying; that mail is from over a > week ago. (I ran "./gradlew --version" from a linux command line) >
Sorry! The wrapper task in the wizards is run using gradle-version latest. So even if the IDE uses 8.4 of the Tooling API, you should be seeing Gradle 8.5 (or possibly now 8.6) in the project. For me the projects are set up with 8.5 (in gradle.properties), but the IDE thinks it's still 8.4. There's a bug in the order of tasks in the wizard which might be at fault here too. We are going to look at upgrading the Tooling API for NB21, but without it you still shouldn't be seeing the issue you are. Best wishes, Neil