netbeans-gradle-project
netbeans-gradle-project copied to clipboard
if the project has a unreachable repository the plugin hungs.
using a unreachable url in the project repository. netbeans keep loading forever and the task can not be canceled.
What do you mean by "using a unreachable url in the project repository"? Do you have such an url added in your build scripts? If so, then it is most likely a Gradle issue.
repositories {
maven { url "http://ubuntu/public/maven/" }
}
ubuntu is a local server (down for the moment)
Then I would think, that Gradle just takes a long time to timeout. The plugin just calls Gradle to resolve the configurations.
As for cancellation: I have just checked the sources, and the plugin does not set the CancellationToken for Gradle. I can work on that, if it helps.