I have several flavors that are almost identical. The only different is the 
value of a buildConfigField. 

    productFlavors {
        a {
            flavorGroup 'store'
            buildConfigField 'String', 'id', '"a"'
        }

        b {
            flavorGroup 'store'
            buildConfigField 'String', 'id', '"b"'
        }

        c {
            flavorGroup 'store'
            buildConfigField 'String', 'id', '"c"'
        }
    }

However, even in this case, mergeResource is running for each buildvariant 
and takes similar time

:App:mergeADebugResources 45.395s 
:App:mergeBDebugResources 43.620s 
:App:mergeCDebugResources 41.770s 

predex is not shared either. each buildvariant run it's own predex. I have 
to disable predex to gain some improvement. 

Are there any thing I can do to decrease the build time?

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