Skip to content

Commit f4aeb67

Browse files
committed
Skip codegen when rebuilding HEAD.
1 parent 088b489 commit f4aeb67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildscripts/kokoro/android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ cd $BASE_DIR/github/grpc-java
103103
./gradlew clean
104104
git checkout HEAD^
105105
./gradlew --stop # use a new daemon to build the previous commit
106+
GRADLE_FLAGS = $GRADLE_FLAGS + " -PskipCodegen=true"
106107
./gradlew publishToMavenLocal $GRADLE_FLAGS
107108
cd examples/android/helloworld/
108109
../../gradlew build $GRADLE_FLAGS

0 commit comments

Comments
 (0)