Mobbeel / fataar-gradle-plugin

Gradle plugin to help embed dependencies in generated AAR artifact
https://plugins.gradle.org/plugin/com.mobbeel.plugin
Apache License 2.0
340 stars 44 forks source link

#17 support for local external dependencies #20

Closed jonbryantnz closed 5 years ago

jonbryantnz commented 5 years ago

Hello,

I updated analyzeDependencies() within CopyDependenciesTask.groovy to include a fallback option for the external dependencies. If the dependency path doesn't exist in cache, then it tries from the projects libs directory.

Testing

Regards, Jon

oscarcpozas commented 5 years ago

Hey @jonbryantnz, thanks for your contribution but this time I'm not going to merge your PR: Your solution search on /lib folder in case of not finding in the route of the external dependencies, but /lib folder is a path defined in each project and could be another path.