mirror of https://github.com/grpc/grpc-java.git
javax.annotation-api is licensed CDDL, which was not noticed when it was introduced. Tomcat provides an Apache 2 version of the same annotation. Note that this annotation is only used when compiling with Java 9+. Unfortunately this may cause classpath collisions since there are _many_ copies of this annotation on Maven Central; we wanted one canonical source and javax.annotation-api seemed like that source. We hope this won't impact many users since we have always suggested using it only for compilation. But it will probably impact some users. However, we didn't create this mess, this seems to be "standard practice" for J2EE, which this annotation is now part of, so we're just impacted by it. Fixes #6833 |
||
|---|---|---|
| .. | ||
| app | ||
| README.md | ||
| build.gradle | ||
| demo.png | ||
| settings.gradle | ||
README.md
gRPC Android StrictMode Example
- This example intends to show the compatibility of gRPC with Android StrictMode.
- Android SDK version 28 is required for
StrictMode.VmPolicy.Builder.penaltyListenerused in the example. - This example does the same thing as HelloWorld example except popping up a dialog for detected StrictMode policy violation (shown below).
