Yes this is something we're going to fix shortly.

On Wed, Sep 16, 2015 at 7:33 AM, Ariel Cattan <[email protected]> wrote:

> Hi guys,
>
> Using the Transform API in Android Gradle Plugin 1.4.0-beta2, I found that
> I during the execution of the transform(), I needed to know the variant
> context in which the method was called, as for the transformation I needed
> access to some resources such as the manifest.xml of the application
> (retrieved by
> calling variant.outputs[0].processManifest.manifestOutputFile).
> I can "guess" the variant by looking at the path suffix of the input
> files, but this would be sensitive to future changes in the Android plugin.
> It would therefore be useful if you could pass the variant in the call to
> transform().
>
> Thanks :-)
> Ariel Cattan
>
> --
> 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.

Reply via email to