mirror of https://github.com/grpc/grpc-java.git
buildscripts: Combine android builds together
Previously the android projects were separate from the main build and each other. For quite a while now they have been integrated in the main project. There's no longer any need to build each separately.
This commit is contained in:
parent
71a3c55177
commit
8ce6355e89
|
@ -27,25 +27,11 @@ echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;28.0.3"
|
|||
# Proto deps
|
||||
buildscripts/make_dependencies.sh
|
||||
|
||||
# Build grpc-cronet
|
||||
|
||||
pushd cronet
|
||||
../gradlew build
|
||||
popd
|
||||
|
||||
# Build grpc-android
|
||||
|
||||
pushd android
|
||||
../gradlew build
|
||||
popd
|
||||
|
||||
# Build android-interop-testing
|
||||
pushd android-interop-testing
|
||||
../gradlew build
|
||||
popd
|
||||
|
||||
# Examples pull dependencies from maven local
|
||||
./gradlew publishToMavenLocal
|
||||
./gradlew \
|
||||
:grpc-android-interop-testing:build \
|
||||
:grpc-android:build \
|
||||
:grpc-cronet:build \
|
||||
publishToMavenLocal
|
||||
|
||||
if [[ ! -z $(git status --porcelain) ]]; then
|
||||
git status
|
||||
|
|
Loading…
Reference in New Issue