When attempting to grab an @OutputFile property from the Dex task 
(i.e. android.applicationVariants.all { variant -> variant.dex.outputFile 
}) from a custom plugin, it seems like that property does not exist:

Execution failed for task ':Example:customTaskDebug'.

> Could not find property 'outputFile' on task ':Example:dexDebug'.

printing out the dex task properties shows now outputFile property (i.e. 
variant.dex.properties.each { println "$it.key -> $it.value" })

>From 
>http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Manipulating-tasks:

   - Dex
      - File outputFile
   
As designed?  Pilot error?

Using android plugin v0.9.0 (gradle v1.11)

-- 
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