aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2018-10-26Bump version to 1.16.1upstream/v1.16.1Eric Anderson
2018-10-24Bump version to 1.16.1-SNAPSHOTEric Anderson
2018-10-24Bump version to 1.16.0upstream/v1.16.0Eric Anderson
2018-09-14all: use Java7 bracketsCarl Mastrangelo
2018-09-04Revert "examples: Add google mirrored maven central to examples pom.xml to ↵creamsoup
deflake kokoro." (#4821) Revert "examples: Add google mirrored maven central to examples pom.xml to deflake kokoro. (#4813)" This reverts commit 54f76dfeafe8ac9cf908ceb49ab87bd8348d2dd9.
2018-08-29examples: Add google mirrored maven central to examples pom.xml to deflake ↵creamsoup
kokoro. (#4813) Add google mirrored maven central to examples pom.xml to deflake kokoro.
2018-08-27Start 1.16.0 development cycle (#4803)Kun Zhang
2018-08-27all: Swap to Java 7 source and bytecodeEric Anderson
Core and OkHttp are left with Java 6 for the moment. Once we resolve their issues they could be bumped as well. Updates #3961
2018-08-24examples: Fix bad copy/paste for tests with Android StudioEric Anderson
2018-08-15alts: Use grpc-netty-shaded instead of grpc-nettyEric Anderson
There's no good way to provide users of ALTS a choice between grpc-netty and grpc-netty-shaded. Since Netty is not exposed through the ALTS API surface, we opt for the shaded version as it has fewer deployment issues. However, this also means that we _can't_ expose any Netty API, like EventLoopGroup.
2018-08-03Bump protobuf-gradle-plugin to 0.8.5Eric Anderson
The version bump happened in some places already, but many references were missed. This fixes the following warning that shows up with newer versions of Gradle: > Using TaskInputs.file() with something that doesn't resolve to a File > object has been deprecated and is scheduled to be removed in Gradle > 5.0. Use TaskInputs.files() instead.
2018-08-02Encourage using grpc-netty-shaded instead of grpc-nettyEric Anderson
grpc-netty is still really useful, but for most users who aren't doing anything advanced using grpc-netty-shaded is much safer from a dependency basis. grpc-netty-shaded has seen more usage and has shown itself to be stable and reduce the number of conflicts due to Netty versions.
2018-07-26Upgrade Gradle to 4.9Eric Anderson
This opens up the ability of dependency locking and the now-stable Maven Publish Plugin. Also failOnVersionConflict no longer needs to be commented out for the dependency insight report.
2018-07-18buildscript: fix jdk-switcher bug always always setting jdk8 (#4652)zpencer
This fixes a bug that always hard codes jdk8. Fixing this revealed an issue for jdk10, so let's remove jdk10 for now and revisit it in a separate PR.
2018-07-18Start 1.15.0 development cycle (#4650)zpencer
2018-06-20examples: Fix comment in HelloWorldClientMaxime Guerreiro
This client talks to HelloWorld server and not to the route guide one.
2018-06-13examples: replace client certificate in trust store in 'Hello world example ↵DmPanov
with TLS with mutual auth' ... with proper CA certificate to fix SSLV3_ALERT_HANDSHAKE_FAILURE in two host with different IPs setup, switch to required client auth to fail on incorrect configuration
2018-06-11all: add gradle format checkerZHANG Dapeng
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
2018-06-04Start 1.14.0 development cycleZHANG Dapeng
2018-05-23noop: resolve lint warnings found at import. (#4496)Kun Zhang
2018-05-17protobuf,examples: move json encoding to examplesCarl Mastrangelo
2018-05-17Bump to Gradle 4.7Eric Anderson
The new jmh plugin fixes a warning for the newer version of Gradle. The new AppEngine plugin still produces a warning, but updating it anyway so people know that upgrading the plugin doesn't fix the problem. The new android-maven plugin fixes a build problem with the newer Gradle. The Visual Studio fixes were necessary starting ~4.4. https://github.com/gradle/gradle-native/issues/34#issuecomment-335222096 describes the change in behavior. There's nothing immediately being used as part of this update. It's just to keep us current and to get us over that Visual Studio change hump.
2018-05-14examples: use GrpcCleanupRule for test examplesZHANG Dapeng
2018-05-03 all: normalize copyright header Carl Mastrangelo
2018-05-01examples: add kotlin and kotlin android examples (#4037)zpencer
Add kotlin version of HelloWorldClient and HelloWorldServer. Add kotlin version of android example.
2018-04-30examples: remove deprecated usage of usePlainText(boolean) (#4396)Jorg Heymans
Update examples (including android) to use non deprecated version of method.
2018-04-23Start 1.13.0 development cycle (#4383)zpencer
2018-04-05examples: upgrade protobuf-maven-plugin to 0.5.1Eric Anderson
This was missed in 2094bb4d8
2018-03-28Fix compilation in Java 9Eric Anderson
2018-03-23routeguide: reimplement distance calculationJan Tattermusch
2018-03-13Start 1.12.0 development cycleEric Anderson
2018-03-01 buildscripts,travis: fetch from mvn with retries (#4140)zpencer
A band aid for #3284, to make its symptoms less noticeable.
2018-02-22all: rename Bazel workspace to io_grpc_grpc_javaCarmi Grushko
Fixes #4095
2018-02-22examples: include correct version in Android caching example (#4114)Eric Gribkoff
2018-02-15alts: add gRPC ALTSJiangtao Li
2018-02-14examples: match applicationId to AndroidManifest.xml package (#4075)Eric Gribkoff
2018-02-06examples: Add a "hello-world" with TLS configuredNicholas DiPiazza
2018-02-05cronet,examples: remove unused importsEric Gribkoff
2018-01-30Start 1.11.0 development cycleEric Gribkoff
2018-01-30examples: update Android examplesEric Gribkoff
Updates include: * Build file and dependency updates * Correcting the gradle wrapper for the clientcache example * Lint fixes (including making AsyncTask subclasses static) * Dropping the m-prefix from member variables * Fixing the code indentation * Fixing and enabling proguard for the routeguide example.
2018-01-23all: update gradle-wrapper.jarEric Gribkoff
2018-01-12Update protobuf-gradle-plugin to 0.8.3Eric Anderson
This fixes support for newer Android Gradle Plugins.
2018-01-11all: Prefer mock+delegatesTo() over Mockito.spy()Eric Anderson
Spies are really magical and easily produce unexpected results. Using them in tests can easily yield tests that don't do what you think they do. Delegation is much safer when possible. Delegation doesn't work when methods `return true`, final methods, and with restricted visibility, though. So CensusModulesTest and MaxConnectionIdleManagerTest are left as-is.
2018-01-09bazel: Remove com_google_protobuf_javaRodrigo Queiro
This was deprecated with Bazel 0.8.0, which now uses @com_google_protobuf instead. This change will break users that use grpc_java_repositories(omit_com_google_protobuf_java=True), so I've added a custom error message to make the resolution clearer.
2018-01-05Upgrade to Protobuf 3.5.1 and Protoc 3.5.1-1. (#3921)Kun Zhang
protoc-3.5.0-linux-x86_64 introduced GLIBC_2.14 dependency and broke gRPC release process (https://github.com/google/protobuf/issues/4138). 3.5.1-1 is the proper re-build.
2017-12-18Start 1.10.0 development cycle (#3877)Kun Zhang
2017-12-06examples: add Android client side caching example appEric Gribkoff
2017-12-04all: add Status messages to all statusesCarl Mastrangelo
2017-11-30all: update to proto 3.5.0Carl Mastrangelo
2017-11-22all: fix grammar typos in javadocskenji yoshida