icojb25 opened a new issue, #4238: URL: https://github.com/apache/netbeans/issues/4238
### Apache NetBeans version Apache NetBeans 14 ### What happened We have a few projects which use older Gradle versions via wrappers. When migrating to NB14, it was required to run priming builds for the Gradle projects, but these failed where the Gradle version was older (4.10.2). The output for the priming build says the above Gradle error: "Cannot load project: Failed to notify build listener: org/gradle/api/plugins/JavaPlatformPlugin" and the project does not load. ### How to reproduce All the builds work fine in NB13, using the same Gradle config in Options, and on the same Netbeans JDK (Zulu JDK 11). 1) Try to open a project which has a gradle wrapper set to use 4.10.2 Gradle options in NB are: 1) Default version 7.3 2) Prefer to use Gradle wrapper: Yes The build runs fine when run from the cmdline using: gradlew.bat build Netbeans is running on JDK 11 but the project is configured with JDK 1.8. I am able to run the project fine from the cmdline. ### Did this work correctly in an earlier version? Apache NetBeans 13 ### Operating System Windows 10 ### JDK (Netbeans zulu11.54.25-ca-jdk11.0.14.1-win_x64) (Project Oracle Java JDK 1.8-201) ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else Product Version: Apache NetBeans IDE 14 Java: 11.0.14.1; OpenJDK 64-Bit Server VM 11.0.14.1+1-LTS Runtime: OpenJDK Runtime Environment 11.0.14.1+1-LTS System: Windows 10 version 10.0 running on amd64; Cp1252; en_NZ (nb) User directory: C:\Users\bergh\AppData\Roaming\NetBeans\14 Cache directory: C:\Users\bergh\AppData\Local\NetBeans\Cache\14 ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
