Ionic force update at build

Time to time, when I try to run “ionic cordova build android” ionic tries to update all used plugins like google maps, firebase which results a broken app.
Is there any way to disable dependency update?

P.s. i have a package json configured with version number.