Since the last couple of versions (4.2 onwards?) the gradle cache has become more problematic. All maven dependencies are downloaded into the ~/.gradle/caches folder. This has drawbacks:
- The IDE (IntelliJ) cannot find javadoc anymore.
- The folder structure of maven is much cleaner than gradle caches
- Gradle will happily download already available deps in maven local
- When using a local nexus server these deps downloaded from this server will also end up in the local caches folder.
How to disable this behaviour and use the local maven repository only to store dependencies?
Thanks in advance for any pointers how to work around this!