Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.2
-
None
-
None
-
Windows 10
Gradle 6.6
Netbeans 12.3
Description
Hello,
I'm trying to open a project which uses a custom plugin available only through the Gradle wrapper and I'm getting the following error:
* What went wrong: A problem occurred evaluating root project 'XXX'. > Plugin with id 'YYY' not found.
I can see that Netbeans is trying to execute the following command and it fails:
cd <project path>; .\gradlew.bat --configure-on-demand -x check build
If I execute the same command from the command line, it works fine.
Is it possible to make sure that Netbeans uses certain Gradle wrapper when open/build projects? It looks like it uses the wrong one: 'C:\Users\<user>\.gradle\wrapper\dists\gradle-6.7-bin\efvqh8uyq79v2n7rcncuhu9sv\gradle-6.7'. It should use the wrapper specified in gradle/wrapper/gradle-wrapper.properties file.
Thanks in advance!