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/05/04 06:50:00 UTC
[jira] [Comment Edited] (NETBEANS-5535) Netbeans 12.3 uses wrong
Gradle wrapper
[ https://issues.apache.org/jira/browse/NETBEANS-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338794#comment-17338794 ]
Alexander Shchelkunov edited comment on NETBEANS-5535 at 5/4/21, 6:49 AM:
--------------------------------------------------------------------------
Hi [~lkishalmi]!
The URL is the following:
{code:java}
distributionUrl=https\://artifactory.mycompany.com/artifactory/gradle-distributions/com/gradle/distributions/gradle/Wrapper-6.6.0-SNAPSHOT/gradle-Wrapper-6.6.0-SNAPSHOT.zip{code}
was (Author: alexander shchelkunov):
The URL is the following:
{code}distributionUrl=https\://artifactory.mycompany.com/artifactory/gradle-distributions/com/gradle/distributions/gradle/Wrapper-6.6.0-SNAPSHOT/gradle-Wrapper-6.6.0-SNAPSHOT.zip{code}
> 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