Url-based dependency


(Yennick Trevels) #1

I’m writing a Flex plugin for Gradle called GradleFx. Now I want to enable my users to specify the Flex SDK as a url-based dependency, something like this:

sdk name: ‘flex-sdk’, version: 4.6, ext: ‘zip’, url: ‘http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip

Is something like this possible? And if not, is there a way I can add a new dependency type to my plugin?

Thanks, Yennick


(Peter Niederwieser) #2

Is something like this possible?

It’s desirable but not currently supported.

And if not, is there a way I can add a new dependency type to my plugin?

Again, that’s not currently possible. You can either try to solve your use case by declaring an Ivy repository with custom artifact pattern, or download the file without using Gradle’s dependency mechanism.


(Yennick Trevels) #3

Thanks Peter for the quick response :slight_smile: