Wildcards work for me.

packagingOptions {
  exclude 'kotlin/**'
  exclude *'META-INF/*.kotlin_module'
*}


On Wed, Oct 5, 2016 at 11:18 AM Tomáš Procházka <tomas.procha...@gmail.com>
wrote:

> Why current implementation of packagingOptions doesn't allows to use any
> type of wildcards?
> Many jar dependencies contain unwanted files like README.txt, LICENCE.txt,
> etc.
> And currently it no possible to exclude them from the APK in easy way.
> Is necessary to list all of them one by one.
> For example I have on my project more than 50 exclude items in the
> packageOptions, with wildcards will be 2 items enough.
>
> I found also the bug report for it.
> https://code.google.com/p/android/issues/detail?id=193114
> It is quite old.
> It is plan do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adt-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to