Updated to new gradle method, disabled a removed method call

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