[ https://issues.apache.org/jira/browse/NETBEANS-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314522#comment-17314522 ]
Laszlo Kishalmi commented on NETBEANS-5535: ------------------------------------------- {quote}It should use the wrapper specified in gradle/wrapper/gradle-wrapper.properties file. {quote} Yes, though if you do not share that info, I won't able to judge what's happening. > Netbeans 12.3 uses wrong Gradle wrapper > --------------------------------------- > > Key: NETBEANS-5535 > URL: https://issues.apache.org/jira/browse/NETBEANS-5535 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Affects Versions: 12.2 > Environment: Windows 10 > Gradle 6.6 > Netbeans 12.3 > Reporter: Alexander Shchelkunov > Assignee: Laszlo Kishalmi > Priority: Major > > 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: > {code:java} > * What went wrong: > A problem occurred evaluating root project 'XXX'. > > Plugin with id 'YYY' not found. > {code} > I can see that Netbeans is trying to execute the following command and it > fails: > {code:java} > cd <project path>; .\gradlew.bat --configure-on-demand -x check build > {code} > 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! -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists