updated build gradle files to latest plugin version