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

What does packagesToInclude do? #8

Closed devpascoe closed 6 years ago

devpascoe commented 6 years ago

Just wondering. Is it necessary? should it specify the package of the library for example: package com.demo.lib; packagesToInclude = ['com.demo.lib']

oscarcpozas commented 6 years ago

If you have a dependency that has transitive dependencies, by default, they will not be added to the final AAR. If you want to add all transitive dependencies you can do it with includeAllInnerDependencies propertie, but if you only want to add one in particular you can specify its package in that array. I don't know if I explain myself clearly?

devpascoe commented 6 years ago

cool. So would you specify the full package name eg com.demo.lib ?

oscarcpozas commented 6 years ago

Yes.