I have an ant build setup for my Android project, and I've been reading guides and tutorials all over stackoverflow and online, but cannot seem to understand how to make this work. Basically in my code I have a variable, "isDebugVersion" (which will print out logs, and a few other things). When I build with ant, I want that variable in my code to be set to "false". I'm looking around and I cannot find the custom_rules.xml
examples even though it's listed in the build.xml
file.
So the variable is in com.example.application.Globals
, and it's listed as isDebugVersion
. Can someone please give me an example for how to manipulate this variable using an ant build script?