lkishalmi commented on a change in pull request #2490:
URL: https://github.com/apache/netbeans/pull/2490#discussion_r511773896



##########
File path: 
extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
##########
@@ -242,6 +244,23 @@ void processDependencies() {
         problems.addAll(unresolvedProblems.values());
     }
 
+    private ModuleDependency resolveModuleDependency(File gradleUserHome, 
String c) {
+        GradleModuleFileCache21 moduleCache = 
GradleModuleFileCache21.getGradleFileCache(gradleUserHome.toPath());
+        GradleModuleFileCache21.CachedArtifactVersion artVersion = 
moduleCache.resolveModule(c);
+        Set<File> binaries = artifactSore.getBinaries(c);

Review comment:
       This makes the module dependency resolution more stable. If the 
ArtifactStore has no information on a module for whatever reason, NetBeans 
tries to resolve it using the Gradle Module Cache directory structure.




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

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

Reply via email to