Whether gradle support add dependency on linux packages

In the product that deployed on Linux, sometimes we need to install some rpm packages.
e.g. openssl, keepalived. Like software dependencies.
Currently, we have to download those rpm packages and include them directly in our release package. This is not that good for a product. So I want to know does the Gradle support downloading these kind of Linux packages in dependency? If it can, how to do it?

There is no direct RPM support in gradle. but you might be able to resolve them using an ivy repository and a custom ivy layout to match the download url. The gradle userguide explains how to use custom layout with an ivy repository: http://gradle.org/docs/current/userguide/userguide_single.html#ivyRepository

Thanks very much for your responding, I’m new user here and I will try.