From cf9fe7259ba514cc67cb5a704ee9409093060b16 Mon Sep 17 00:00:00 2001 From: Hao Nguyen Date: Wed, 8 May 2019 17:05:58 -0700 Subject: [PATCH] Update instruction on how to use JavaLite runtime --- java/lite.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/java/lite.md b/java/lite.md index 08cc76894..2b9e483a1 100644 --- a/java/lite.md +++ b/java/lite.md @@ -23,8 +23,16 @@ You can generate Java Lite code for your .proto files: Note that "optimize_for = LITE_RUNTIME" option in proto file is deprecated and will not have any effect any more. -The latest Java Lite runtime is not yet fully released in any official -version. You will need to build from our master's branch in order to use it. +Include the generated Java files in your project and add a dependency on the +protobuf Java runtime. If you are using Maven, use the following: + +```xml + + com.google.protobuf + protobuf-javalite + 3.8.0 + +``` For the older version of Java Lite (v3.0.0), please refer to: