Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Custom tasks of the root project are shown once again (if they need t…

…o be checked for existence).
  • Loading branch information...
commit 6c9ff0e43ba4e43a917fd064edf3d1833efd697b 1 parent b849e28
@kelemen authored
View
5 src/org/netbeans/gradle/project/properties/PredefinedTask.java
@@ -114,7 +114,10 @@ private static boolean isTaskExists(NbGradleModule module, String task) {
// if projectName is empty, that means that we want to execute
// the task of the root project.
- if (!projectName.isEmpty() && !projectName.startsWith(":")) {
+ if (projectName.isEmpty()) {
+ projectName = ":";
+ }
+ else if (!projectName.startsWith(":")) {
projectName = module.getUniqueName() + ":" + projectName;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.