Hi,
I would like to generate some files at build time (an XML file and then add
a reference to this XML into the Manifest of my app).
I suppose the /build/generated/ folder is the place to put this kind of
generated files.
After studying how this folder works, with the `wearApp(':wear')`
dependency, I learned that I should put my generated XML file into
/build/generated/res/something/rs/flavorA/release/xml/
but I don't want to hard code this path into my build script. Is there a
way to retrieve this path dynamically, based on the current variant for
example, without having to do something like
"/build/generated/res/something/${variant.flavor}/${variant.buildType}/xml/"
On a more generic side, how is the "something" part of the path used during
the resource merging ? And why is there a "rs" part in the path ?
Thank you very much for the explanations.
Pierre D.
--
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.