Re: Why does NB start gradle 7

2021-06-18 Thread Jonathan Bergh
Hi Martin, Thanks for your points - yes I changed the wrapper - that points to the correct Gradle. Hi Lazlo, That will be it i think. Thanks for that, I didnt know JDK 16 would force Gradle 7. Thanks for that. Appreciated Regards Jon On Fri, Jun 18, 2021 at 5:03 AM Laszlo Kishalmi wrote: > T

Re: Why does NB start gradle 7

2021-06-17 Thread Laszlo Kishalmi
The question is which JDK is your NetBeans running on. If it is Java 16, then NetBeans has no other option than to run Gradle 7 even for project loading, otherwise the discovery would throw an unknown class version exception. On 6/17/21 9:10 AM, Martin Meeser wrote: Hello, have you tried t

Re: Why does NB start gradle 7

2021-06-17 Thread Martin Meeser
Hello, have you tried to set specific version $ ./gradlew wrapper --gradle-version 6.2.1 you can also delete wrapper and recreate with specific version with terminal in your gradle root: what gives gradle --version and what ./gradlew --version I assume you are aware of https://docs.gradl

Why does NB start gradle 7

2021-06-17 Thread Jonathan Bergh
Hi, Quick question on Gradle config in NB12.4. Seems NB starts Gradle 7 (at least on my machine) by default every time NB starts up. In my Options -> Java -> Gradle config, the default version is set to 6.2.1 and also prefer gradle wrapper for individual projects. The problem is Gradle 7 means so