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

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

In my case, the project defines JDK 8 for source and target.

Java 11 is configured as the JDK home in netbeans.conf 12.4 (where I see this 
issue) and Java 8 in netbeans.conf for 12.3 (where I don't see this issue).

I'll try setting Java 8 in 12.4 to see if that makes a difference; however, if 
that is the deciding factor then I may need to keep the two versions of 
Netbeans as I need to do work in both Java 8 and 11.

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

Reply via email to