[ https://issues.apache.org/jira/browse/NETBEANS-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-5691. --------------------------------------- Resolution: Resolved > Gradle 3rd level api-dependencies are not resolved correclty. > ------------------------------------------------------------- > > Key: NETBEANS-5691 > URL: https://issues.apache.org/jira/browse/NETBEANS-5691 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Affects Versions: 12.3 > Environment: Java 15 > Gradle 6.7 > Ubuntu 21 > Reporter: Martin > Assignee: Laszlo Kishalmi > Priority: Minor > > First of all: gradle support in NB is great! Maybe best there is! > > I have a multproject java modular gradle build. > If a project has an api dependency to a second project, that works fine. > > However if a 3rd project also has an dependency to the 2nd project, that does > not work. > NB does not recognize the classes from the 1st project. > The gradle build works. > > This can be overcome by manually adding the implementation dependency of > project 1 to project 3 in project 3's build.gradle. > However that is what you do NOT want to do and why you are using gradle in > the first place... (among other things of course) > Steps to reproduce: Create gradle project with java modular solution > (infer-module-path = true). Create 3 projects with "requires transitive" in > module-info.java and "api dependency" build.gradle as described . > > > -- 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