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/07/26 08:24:54 UTC
[netbeans] branch delivery updated: Fix Gradle Source4Binary always returns with resources location.
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 82317104e1 Fix Gradle Source4Binary always returns with resources location.
new b9a1808c43 Merge pull request #4436 from lkishalmi/gh-4418
82317104e1 is described below
commit 82317104e1031c9138dbff6c73acc6afdbf7e300
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Sun Jul 24 12:48:07 2022 -0700
Fix Gradle Source4Binary always returns with resources location.
---
.../org/netbeans/modules/gradle/java/queries/GradleSourceForBinary.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/gradle.java/src/org/netbeans/modules/gradle/java/queries/GradleSourceForBinary.java b/java/gradle.java/src/org/netbeans/modules/gradle/java/queries/GradleSourceForBinary.java
index 962f079351..ca626fee8a 100644
--- a/java/gradle.java/src/org/netbeans/modules/gradle/java/queries/GradleSourceForBinary.java
+++ b/java/gradle.java/src/org/netbeans/modules/gradle/java/queries/GradleSourceForBinary.java
@@ -92,7 +92,7 @@ public class GradleSourceForBinary implements SourceForBinaryQueryImplementation
// The proper solution will be to change java implementation to use output folder as a fallback if nothing
// is found in the cache; then this special case may be removed.
boolean canPreferSource = st == SourceType.JAVA;
- return new Res(project, ss.getName(), EnumSet.of(RESOURCES), canPreferSource);
+ return new Res(project, ss.getName(), EnumSet.of(st), canPreferSource);
}
}
return new Res(project, ss.getName(), ALL_LANGUAGES, false);
---------------------------------------------------------------------
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