netbeans-gradle-project
netbeans-gradle-project copied to clipboard
Failing to find dependencies in custom repositories
I'm setting a repository url in the maven block of my buildscript / repositories and it seems that the plugin can't resolve compile and runtime dependencies. I can verify the URLs are correct by browsing the path in chrome.
Can you build your project from the command line? Are you using a proxy?
Can compile from the command line. I don't believe there is a proxy in play, though the repository is proprietary and on my company's intranet.
If your company uses a proxy, then it is possible that NB has the proxy configured and Gradle is trying to use the proxy to access your repository. Can you try disabling the proxy in the NB settings?
Disabled the NB proxy settings with no luck. If it helps at all, the IntelliJ gradle support seems to work--not sure what they're doing differently, but I'm a NB guy and prefer it to others. :)
As far as dependency resolution goes, what Idea does is not much different. Probably some setup is different. The only two things what I can think of now and might be different is the proxy settings and the version of Gradle you are using. Other than that, you may try disabling "Automatic tasks" (Tools/Options/Misc/Gradle/Task Execution).