Update gradle files for advancedlayers