upgrade build.gradle

let the project can work on android-library mode
fix `'xxxxxx/libraries/AndroidStaggeredGrid/library/build/libs/library.aar' specified for property 'bundle' does not exist ` error