Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
cf9fe725
Commit
cf9fe725
authored
May 09, 2019
by
Hao Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update instruction on how to use JavaLite runtime
parent
d6bcf07a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
lite.md
java/lite.md
+10
-2
No files found.
java/lite.md
View file @
cf9fe725
...
...
@@ -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
<dependency>
<groupId>
com.google.protobuf
</groupId>
<artifactId>
protobuf-javalite
</artifactId>
<version>
3.8.0
</version>
</dependency>
```
For the older version of Java Lite (v3.0.0), please refer to:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment