You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alexander Shchelkunov (Jira)" <ji...@apache.org> on 2021/04/02 14:59:00 UTC

[jira] [Updated] (NETBEANS-5535) Netbeans 12.3 uses wrong Gradle wrapper

     [ https://issues.apache.org/jira/browse/NETBEANS-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shchelkunov updated NETBEANS-5535:
--------------------------------------------
    Summary: Netbeans 12.3 uses wrong Gradle wrapper  (was: Netbeans uses wrong Gradle wrapper)

> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists