"target=" should always force the specified target, not just replace existing definition
Using "target=" replaces existing target definition, but it doesn't add them if the are missing in upstream. This is an issue with gradle builds bu might affect others, too.