grpc-java/examples/android
Eric Anderson d44de5069d
Bump to Gradle 6.9 and update plugins
These changes make the build compatible with Gradle 7, except for
Android which requires plugin updates.

I removed animalsniffer from binder because it did nothing (as there
were no signatures) and it was failing after setting toolVersion. It
failed because animalsniffer is only compatible with java plugin. After
this change I put the withId(animalsniffer) loading inside the
withId(java) to avoid a plugin ordering failure. That made it safe again
for binder to load animalsniffer, but it is still best to remove the
plugin from binder as it is misleading.

I did not upgrade Android plugin versions as newer versions (even 3.6)
require dealing with androidx (#8421).
2022-01-07 09:54:50 -08:00
..
clientcache Bump to Gradle 6.9 and update plugins 2022-01-07 09:54:50 -08:00
helloworld Bump to Gradle 6.9 and update plugins 2022-01-07 09:54:50 -08:00
routeguide Bump to Gradle 6.9 and update plugins 2022-01-07 09:54:50 -08:00
strictmode Bump to Gradle 6.9 and update plugins 2022-01-07 09:54:50 -08:00
README.md all: remove copies of gradle wrapper 2018-12-11 16:23:28 -08:00

README.md

gRPC Hello World Example (Android Java)

PREREQUISITES

INSTALL

  1. Install gRPC Java library SNAPSHOT locally, including code generation plugin (Only need this step for non-released versions, e.g. master HEAD).

  2. Install the app

$ cd helloworld  # or "cd routeguide"
$ ../../gradlew installDebug

Please refer to the tutorial on how to use gRPC in Android programs.