How can i modify macrodef used in xml from gradle?

how can i modify macrodef used in xml from gradle?