Direct maven URL within DependencyHandler's compile method


(Chinh Mu) #1

Hi,

On 2.14.1, DependencyHandler has compile() method. It doesn’t support direct maven URL.

Would you please consider adding support for direct maven URL within compile method?

For example:

dependencies {
    compile 'https://maven/url/:group-id:artifact-id:version'
}

My project declares several maven repos, including personal ones (not maven central…) So to enhance security, I just want to use some dependencies from within a specific maven repo only.

Thank you,