Known limitations
Not Supported
The following is not supported:
-
The
flatDir
repository supported by Gradle is not supported as it does not make sense. The purpose of this plugin is to cache remote repositories into a usable local repository. If a user already has aflatDir
, it does not need be cached, simply copied. -
Buildscript classpaths.
-
Plugins that are specified in the
plugins
block. The current workaround is to create a configuration which lists the plugins and their versions and then cache that to the local repository.
Protocols
Binary repositories only support http(s):
and file:
URIs.
S3 transport is not supported at all even for Maven or Ivy repositories.
Resolution
The resolution process cannot be fine-tuned to the level which is described in http://gradle.org/docs/current//userguide/dependency_management.html#sec:ivy_repositories.
There are some limitations in Apache Ivy where Maven repositories that redirect artifacts to a different URL will cause failures. A known case are Ruby Gems. There is currently no known workaround.