Update build script of gradle

Merge branch 'release-2.2' into develop
implement the function of exit survey
Merge branch 'f_exit_survey' into develop
update build script
Merge branch 'r_2.2.0'