android.applicationVariants.all { variant -> }
def mappingFile = variant.mappingFile
}
Yes it's on the variant instead of the task because the task does not have
such an API.
On Tue, Nov 25, 2014 at 1:04 AM, Roman Mazur <[email protected]> wrote:
> I do not see any API to get output proguard mapping file.
> Probably it is correct, since a proper solution would be
>
> if (variant.obfuscation instanceof ProguardTask) {
> def mappingFile =
> variant.obfuscation.someNonExisintgPropertyInProguardTaskThatReturnesTheMappingFile
> }
>
> ..but ProguardTask also does not have such an API.
>
> I believe some time ago we did have some property to get this file...
>
> Just tired of changing our internal publishing plugin due to mapping file
> relocations...
>
> Should we poke Eric Lafortune for 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com
Please do not send me questions directly. Thanks!
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.