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.gradle.org/current/userguide/gradle_wrapper.html
<https://docs.gradle.org/current/userguide/gradle_wrapper.html>
but adding it here just in case.
hope this helps
On 17.06.21 15:59, Jonathan Bergh wrote:
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 some gradle projects don't load
properly. Selecting Clean and Build /*seems* /to build with the
wrapper, but i /also/ get a popup complaining about Gradle 7 not being
able to find certain plugins (only available in the lower 6.2.1 version).
Is there a default gradle conf in /etc/netbeans.conf or somewhere else?
I have removed my GRADLE_HOME env var so that doesn't interfere.
Thanks for any info in advance
Rgds
Jon
--
------------------------------------------------------------------------
Software Ingenieur Martin Meeser
Tel: +49 (0) 157 3434 0354
mail: martin.mee...@softwareing.de
www.softwareing.de <www.softwareing.de>