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

[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

    [ https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387382#comment-17387382 ] 

Alex lewis commented on NETBEANS-5781:
--------------------------------------

I'm experiencing the same issue as per the Description. Related to this, the "Prefer to use Gradle Wrapper that Comes with the Project" does not have an affect on the version of Gradle Netbeans uses when opening/loading the project.

> Priming gradle build does not honor the gradle version set in Options/Java/Gradle
> ---------------------------------------------------------------------------------
>
>                 Key: NETBEANS-5781
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5781
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 12.4
>         Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>            Reporter: Guntram Blohm
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>              Labels: gradle, version
>         Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", Netbeans uses gradle 7 to load the project, decides it can't, and makes the project unusable. Pressing the "hammer" button (F11) to build the project correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 7.0 even with gradle 4.10.2 selected in Options.
>  



--
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