fixed issue with gradle buildProduction target