fix deprecation warnings in build files
Merge branch 'fix-warning-build-file' of github.com:xuwei-k/Play20