Merge pull request #6016 from haon4/201904101300

Down integration to GitHub
diff --git a/.github/mergeable.yml b/.github/mergeable.yml
new file mode 100644
index 0000000..c417001
--- /dev/null
+++ b/.github/mergeable.yml
@@ -0,0 +1,18 @@
+mergeable:
+  pull_requests:
+    label:
+      and:
+        - must_exclude:
+            regex: '^disposition/DO NOT MERGE'
+            message: 'Pull request marked not mergeable'
+        - or:
+          - and:
+            - must_include:
+                regex: 'release notes: yes'
+                message: 'Please include release note: yes'
+            - must_include:
+                regex: '^(c#|c\+\+|cleanup|conformance tests|integration|java|javascript|go|objective-c|php|python|ruby)'
+                message: 'Please include at least a language label (e.g., c++, java, python). Or apply one of the following labels: cleanup, conformance tests, integration.'
+          - must_include:
+              regex: 'release notes: no'
+              message: 'Please include release note: no'
diff --git a/java/lite.md b/java/lite.md
index 403d44f..08cc768 100644
--- a/java/lite.md
+++ b/java/lite.md
@@ -11,42 +11,21 @@
 Lite runtime has a much smaller code size which makes it more suitable to
 be used on Android.
 
-To use Java Lite runtime, you need to install protoc and the protoc plugin for
-Java Lite runtime. You can obtain protoc following the instructions in the
-toplevel [README.md](../README.md) file. For the protoc plugin, you can
-download it from maven:
+Note that in order to achieve maximum performance and code size, we will
+NOT guarantee API/ABI stability for Java Lite. If this is not acceptable
+for your use-case, please use the full Java runtime instead. Note that
+the latest version of Java Lite is not compatible with the 3.0.0 version.
 
-    https://repo1.maven.org/maven2/com/google/protobuf/protoc-gen-javalite/
+You can generate Java Lite code for your .proto files:
 
-Choose the version that works on your platform (e.g., on windows you can
-download `protoc-gen-javalite-3.0.0-windows-x86_32.exe`), rename it to
-protoc-gen-javalite (or protoc-gen-javalite.exe on windows) and place it
-in a directory where it can be find in PATH. If you are using unix like OS
-then make sure to convert `protoc-gen-javalite` to unix executable. For example
-`chmod +x protoc-gen-javalite`
+    $ protoc --java_out=lite:${OUTPUT_DIR} path/to/your/proto/file
 
-Once you have the protoc and protoc plugin, 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.
 
-    $ protoc --javalite_out=${OUTPUT_DIR} path/to/your/proto/file
+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:
+For the older version of Java Lite (v3.0.0), please refer to:
 
-```xml
-<dependency>
-  <groupId>com.google.protobuf</groupId>
-  <artifactId>protobuf-lite</artifactId>
-  <version>3.0.1</version>
-</dependency>
-```
-
-Make sure the version number of the runtime matches (or is newer than) the
-version number of the protoc plugin. The version number of the protoc doesn't
-matter and any version >= 3.0.0 should work.
-
-### Use Protobuf Java Lite Runtime with Bazel
-
-Bazel has native build rules to work with protobuf. For Java Lite runtime,
-you can use the `java_lite_proto_library` rule. Check out [our build files
-examples](../examples/BUILD) to learn how to use it.
+    https://github.com/protocolbuffers/protobuf/blob/javalite/java/lite.md