Update gradle build script

bootRun can be started with production profile, dev profile doesn't optimize js/css/html files

fix #765