Is it possible to define an Android string-array resource in Gradle?
In Gradle for Android, I'm trying to generate the equivalent of this string-array resource... <resources> <string-array name="url_array"> <item>http://www.url1.com</item> <item>http://www.url2.com</item> <item>http://www.url3.com</item> </string-array> </resources> ...in my app's build.gradle config file. I don't want to hardcode these values in res/values/arrays.xml, since I want to be able to generate different array contents for different build variants (dev vs. prod). I know there are workarounds, but this would be the cleanest solution if it's possible. I've tried things like the excerpt