Update gradle build script

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

fix #765
Merge pull request #775 from atomfrede/update-gradle-script

Update gradle build script