mirror of https://github.com/grpc/grpc-java.git
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:
parent
5fbe2ed8e8
commit
c240f27077
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue