You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ne...@apache.org on 2022/08/15 17:02:26 UTC

[netbeans] branch delivery updated: Gradle project reports unresolved configurations.

This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/delivery by this push:
     new 21e64e2eea Gradle project reports unresolved configurations.
     new 4f0fb4dff2 Merge pull request #4476 from lkishalmi/fix-unresolved-gradle-configuration-badge
21e64e2eea is described below

commit 21e64e2eea8ce94c9f85b2d8df01c687828c9059
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Sun Aug 7 12:47:29 2022 -0700

    Gradle project reports unresolved configurations.
---
 .../org/netbeans/modules/gradle/api/GradleBaseProject.java   | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
index d0b5d12051..447d40ce43 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
@@ -267,16 +267,18 @@ public final class GradleBaseProject implements Serializable, ModuleSearchSuppor
     }
 
     /**
-     * Returns {@code true} if all configurations are resolved.
-     * @return true - if all configurations are resolved.
+     * Returns {@code true} if all resolvable configurations are resolved.
+     * @return true - if all resolvable configurations are resolved.
      */
     public boolean isResolved() {
         if (resolved == null) {
             boolean b = true;
             for (GradleConfiguration value : configurations.values()) {
-                b &= value.isResolved();
-                if (!b) {
-                    break;
+                if (value.isCanBeResolved()) {
+                    b &= value.isResolved();
+                    if (!b) {
+                        break;
+                    }
                 }
             }
             resolved = b;


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