buildscripts: android.sh to clean the build when building HEAD^

A gradle plugin [issue](google/protobuf-gradle-plugin#331) was seen for https://github.com/grpc/grpc-java/pull/6099. This PR try to workaround it.
This commit is contained in:
ZHANG Dapeng 2019-08-28 12:56:49 -07:00 committed by GitHub
parent 5fbe2ed8e8
commit c240f27077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ new_apk_size="$(stat --printf=%s $HELLO_WORLD_OUTPUT_DIR/apk/release/app-release
cd $BASE_DIR/github/grpc-java
git checkout HEAD^
./gradlew clean
./gradlew publishToMavenLocal
cd examples/android/helloworld/
../../gradlew build