Moved to new gradle getBuildSetting method.

Signed-off-by: Vincent de Smet <vincentdesmet@Vincents-MacBook-Pro.local>