I’m facing a dependency problem where gradle tries to fetch a hk2-jar from the repo which can not be found there. It’s the dependency
runtime 'org.glassfish.ha:ha-api:3.1.9' which is problematic.
Other projects are having similar issues with this library (see https://issues.apache.org/jira/browse/IVY-1357 and https://groups.google.com/forum/#!topic/simple-build-tool/AYLw15EJcvg ).
What is the “gradle way” of handling such situations?
UPDATE: In the meantime I solved my original problem by changing the dependency line to runtime
'org.glassfish.ha:ha-api:3.1.9@jar' but I think a general statement could be helpful for others.
UPDATE2: Unfortunetaly the workaround solution above only works for projects that are not used as dependencies by other projects.