You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Martin (Jira)" <ji...@apache.org> on 2021/06/01 21:53:00 UTC
[jira] [Commented] (NETBEANS-5691) Gradle 3rd level
api-dependencies are not resolved correclty.
[ https://issues.apache.org/jira/browse/NETBEANS-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355347#comment-17355347 ]
Martin commented on NETBEANS-5691:
----------------------------------
Can not reproduce with NB 12.4, Gradle 7, Java 16
not sure what happened, deactivated experimental features under options->java->gradle (was not aware those were activated), changed SOURCE_COMPABILITY to JavaLanguageVersion.of(16) in build.gradle
should I just close this?
> 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-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