Fetch android_databinding dependencies with rules_jvm_external (third_party)

Partial commit for third_party/*, see #17759.

Closes https://github.com/bazelbuild/bazel/pull/17759

Signed-off-by: Yun Peng <pcloudy@google.com>
diff --git a/third_party/BUILD b/third_party/BUILD
index 98bb0b8..8a25fe9 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -9,8 +9,6 @@
     srcs = glob(["**"]) + [
         "//third_party/allocation_instrumenter:srcs",
         "//third_party/android_dex:srcs",
-        "//third_party/animal_sniffer:srcs",
-        "//third_party/antlr:srcs",
         "//third_party/bazel-toolchains:srcs",
         "//third_party/checker_framework_dataflow:srcs",
         "//third_party/checker_framework_javacutil:srcs",
@@ -32,11 +30,6 @@
         "//third_party/java/jcommander:srcs",
         "//third_party/java/proguard:srcs",
         "//third_party/javascript/bootstrap:srcs",
-        "//third_party/jaxb:srcs",
-        "//third_party/jetbrains_annotations:srcs",
-        "//third_party/jetifier:srcs",
-        "//third_party/juniversalchardet:srcs",
-        "//third_party/kotlin_stdlib:srcs",
         "//third_party/pprof:srcs",
         "//third_party/protobuf:srcs",
         "//third_party/py/abseil:srcs",
@@ -60,75 +53,16 @@
     srcs = [],
 )
 
-# This target only contains the jars that are used for building / running Bazel.
-# The target below is for the Android tools that are not shipped with Bazel.
-distrib_java_import(
-    name = "android_common_25_0_0_lite",
-    enable_distributions = ["debian"],
-    jars = [
-        "android_common/com.android.tools.layoutlib_layoutlib_26.1.2-stripped.jar",
-        "android_common/com.android.tools_sdk-common_25.0.0-patched-stripped.jar",
-        "android_common/com.android.tools_repository_25.0.0.jar",
-    ],
-    deps = [
-        "//third_party/jaxb",
-    ],
-)
-
 java_library(
     name = "android-annotations",
     exports = ["@maven_android//:com_android_tools_annotations"],
 )
 
-java_import(
-    name = "android_common_25_0_0",
-    jars = [
-        "android_common/com.android_annotations_25.0.0.jar",
-        "android_common/com.android.tools.build_builder_2.0.0.jar",
-        "android_common/com.android.tools.build_builder-model_2.0.0.jar",
-        "android_common/com.android.tools.build_builder-test-api_2.0.0.jar",
-        "android_common/com.android.tools.build_manifest-merger_25.0.0-patched.jar",
-        "android_common/com.android.tools.external.lombok_lombok-ast_0.2.3.jar",
-        # layoutlib has been upgraded to 26.1.2 *just* for font resource support.
-        # We are unable to upgrade the other libraries yet due to internal
-        # constraints with Blaze. See
-        # https://github.com/bazelbuild/bazel/issues/4381
-        # TODO(bazel-team): Upgrade entire android_common suite to 26+ after
-        # resolving internal constraint.
-        "android_common/com.android.tools.layoutlib_layoutlib_26.1.2.jar",
-        "android_common/com.android.tools.lint_lint-api_25.0.0.jar",
-        "android_common/com.android.tools.lint_lint-checks_25.0.0.jar",
-        "android_common/com.android.tools_common_25.0.0.jar",
-        "android_common/com.android.tools_dvlib_25.0.0.jar",
-        "android_common/com.android.tools_repository_25.0.0.jar",
-        "android_common/com.android.tools_sdk-common_25.0.0-patched.jar",
-        "android_common/com.android.tools_sdklib_25.0.0.jar",
-    ],
-    runtime_deps = [
-        ":asm",
-        ":asm-analysis",
-        ":asm-tree",
-    ],
-    deps = [
-        "//third_party/jaxb",
-    ],
-)
-
-java_import(
-    name = "apache_commons_codec",
-    jars = ["apache_commons_codec/commons-codec-1.10.jar"],
-)
-
 java_library(
     name = "apache_commons_collections",
     exports = ["@maven//:commons_collections_commons_collections"],
 )
 
-java_import(
-    name = "apache_commons_io",
-    jars = ["apache_commons_io/commons-io-2.4.jar"],
-)
-
 java_library(
     name = "apache_commons_lang",
     exports = ["@maven//:commons_lang_commons_lang"],
@@ -532,9 +466,9 @@
     enable_distributions = ["debian"],
 )
 
-java_import(
+alias(
     name = "jsr330_inject",
-    jars = ["jsr330_inject/javax.inject.jar"],
+    actual = "@maven//:javax_inject_javax_inject",
 )
 
 UNNECESSARY_DYNAMIC_LIBRARIES = select({
diff --git a/third_party/animal_sniffer/BUILD b/third_party/animal_sniffer/BUILD
deleted file mode 100644
index 35404b9..0000000
--- a/third_party/animal_sniffer/BUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["notice"])  # MIT
-
-license(
-    name = "license",
-    copyright_notice = "Copyright (c) 2008 Kohsuke Kawaguchi and codehaus.org",
-    license_kinds = [
-        "@rules_license//licenses/spdx:MIT",
-    ],
-    license_text = "LICENSE",
-    package_name = "annimal_sniffer",
-    package_version = "1.14",
-)
-
-exports_files(["LICENSE"])
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "animal_sniffer",
-    jars = ["animal-sniffer-annotations-1.14.jar"],
-)
diff --git a/third_party/animal_sniffer/LICENSE b/third_party/animal_sniffer/LICENSE
deleted file mode 100644
index 016a46a..0000000
--- a/third_party/animal_sniffer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2008 Kohsuke Kawaguchi and codehaus.org.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/third_party/animal_sniffer/animal-sniffer-annotations-1.14.jar b/third_party/animal_sniffer/animal-sniffer-annotations-1.14.jar
deleted file mode 100644
index fb76acf..0000000
--- a/third_party/animal_sniffer/animal-sniffer-annotations-1.14.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/antlr/BUILD b/third_party/antlr/BUILD
deleted file mode 100644
index d3e89e1..0000000
--- a/third_party/antlr/BUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["notice"])  # BSD
-
-license(
-    name = "license",
-    package_name = "antlr4",
-    copyright_notice = "Copyright (c) 2012 Terence Parr and Sam Harwell",
-    license_kinds = [
-        "@rules_license//licenses/spdx:0BSD",
-    ],
-    license_text = "LICENSE",
-    package_version = "4.5.3",
-)
-
-exports_files(["LICENSE"])
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "antlr",
-    jars = ["antlr4-4.5.3.jar"],
-)
diff --git a/third_party/antlr/LICENSE b/third_party/antlr/LICENSE
deleted file mode 100644
index b275a42..0000000
--- a/third_party/antlr/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-[The BSD License]
-Copyright (c) 2012 Terence Parr and Sam Harwell
-All rights reserved.
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/third_party/antlr/antlr4-4.5.3.jar b/third_party/antlr/antlr4-4.5.3.jar
deleted file mode 100644
index 8203e15..0000000
--- a/third_party/antlr/antlr4-4.5.3.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/apache_commons_codec/LICENSE b/third_party/apache_commons_codec/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/third_party/apache_commons_codec/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/third_party/apache_commons_codec/commons-codec-1.10.jar b/third_party/apache_commons_codec/commons-codec-1.10.jar
deleted file mode 100644
index 1d7417c..0000000
--- a/third_party/apache_commons_codec/commons-codec-1.10.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/apache_commons_io/LICENSE b/third_party/apache_commons_io/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/third_party/apache_commons_io/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/third_party/apache_commons_io/commons-io-2.4.jar b/third_party/apache_commons_io/commons-io-2.4.jar
deleted file mode 100644
index 90035a4..0000000
--- a/third_party/apache_commons_io/commons-io-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/java/android_databinding/v3_4_0/BUILD b/third_party/java/android_databinding/v3_4_0/BUILD
index c23cb7e..917caf7 100644
--- a/third_party/java/android_databinding/v3_4_0/BUILD
+++ b/third_party/java/android_databinding/v3_4_0/BUILD
@@ -13,60 +13,10 @@
     srcs = glob(["**"]),
 )
 
-# Base library shared by build tools and the data binding runtime.
-java_import(
-    name = "base",
-    jars = ["base.jar"],
-)
-
 # Resource processor implementation.
+# Built from https://cs.android.com/androidx/platform/frameworks/data-binding/+/mirror-goog-studio-master-dev:exec/src
 java_import(
     name = "exec",
     jars = ["exec.jar"],
-    deps = [
-        ":compiler",
-    ],
-)
-
-# Data binding XML expressions -> Java code implementation.
-java_import(
-    name = "compiler",
-    jars = ["compiler.jar"],
-    deps = [
-        ":base",
-        ":compiler_common",
-        ":x_common",
-        "//third_party:apache_commons_codec",
-        "//third_party/jaxb:jaxb-2.3.0",
-    ],
-)
-
-# Support library for the compiler (distributed separately).
-java_import(
-    name = "compiler_common",
-    jars = ["compiler_common.jar"],
-    deps = [
-        ":base",
-        ":x_common",
-        "//third_party:android-annotations",
-        "//third_party:apache_commons_io",
-        "//third_party:checker_framework_annotations",
-        "//third_party:error_prone_annotations",
-        "//third_party:guava",
-        "//third_party:jsr305",
-        "//third_party/animal_sniffer",
-        "//third_party/antlr",
-        "//third_party/java/j2objc-annotations",
-        "//third_party/java/javapoet",
-        "//third_party/jetifier",
-        "//third_party/juniversalchardet",
-        "//third_party/kotlin_stdlib",
-    ],
-)
-
-# Android X library for the compiler (distributed separately).
-# in support world, this is equal to base
-java_import(
-    name = "x_common",
-    jars = ["x_common.jar"],
+    deps = ["@maven_android//:androidx_databinding_databinding_compiler"],
 )
diff --git a/third_party/java/android_databinding/v3_4_0/base.jar b/third_party/java/android_databinding/v3_4_0/base.jar
deleted file mode 100644
index d8de018..0000000
--- a/third_party/java/android_databinding/v3_4_0/base.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/java/android_databinding/v3_4_0/compiler.jar b/third_party/java/android_databinding/v3_4_0/compiler.jar
deleted file mode 100644
index ee41a94..0000000
--- a/third_party/java/android_databinding/v3_4_0/compiler.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/java/android_databinding/v3_4_0/compiler_common.jar b/third_party/java/android_databinding/v3_4_0/compiler_common.jar
deleted file mode 100644
index a52fb10..0000000
--- a/third_party/java/android_databinding/v3_4_0/compiler_common.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/java/android_databinding/v3_4_0/x_common.jar b/third_party/java/android_databinding/v3_4_0/x_common.jar
deleted file mode 100644
index a90a96a..0000000
--- a/third_party/java/android_databinding/v3_4_0/x_common.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/java/aosp_gradle_core/BUILD b/third_party/java/aosp_gradle_core/BUILD
index 304330a..93ba05e 100644
--- a/third_party/java/aosp_gradle_core/BUILD
+++ b/third_party/java/aosp_gradle_core/BUILD
@@ -9,18 +9,6 @@
     srcs = glob(["**"]),
 )
 
-filegroup(name = "embedded_aosp_gradle_core")
-
-java_library(
-    name = "aosp_gradle_core",
-    srcs = glob(["java/**/*.java"]),
-    deps = [
-        "//third_party:android_common_25_0_0",
-        "//third_party:asm",
-        "//third_party:guava",
-    ],
-)
-
 java_library(
     name = "aosp_gradle_core_30_1_3",
     srcs = glob(["30.1.3/java/**/*.java"]),
diff --git a/third_party/java/aosp_gradle_core/java/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java b/third_party/java/aosp_gradle_core/java/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
deleted file mode 100644
index 45721f4..0000000
--- a/third_party/java/aosp_gradle_core/java/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
+++ /dev/null
@@ -1,1483 +0,0 @@
-/*
- * Copyright (C) 2014 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.android.build.gradle.tasks;
-
-import static com.android.SdkConstants.ANDROID_STYLE_RESOURCE_PREFIX;
-import static com.android.SdkConstants.ANDROID_URI;
-import static com.android.SdkConstants.ATTR_DISCARD;
-import static com.android.SdkConstants.ATTR_KEEP;
-import static com.android.SdkConstants.ATTR_NAME;
-import static com.android.SdkConstants.ATTR_PARENT;
-import static com.android.SdkConstants.ATTR_SHRINK_MODE;
-import static com.android.SdkConstants.ATTR_TYPE;
-import static com.android.SdkConstants.DOT_CLASS;
-import static com.android.SdkConstants.DOT_JAR;
-import static com.android.SdkConstants.DOT_XML;
-import static com.android.SdkConstants.FD_RES_VALUES;
-import static com.android.SdkConstants.PREFIX_ANDROID;
-import static com.android.SdkConstants.PREFIX_RESOURCE_REF;
-import static com.android.SdkConstants.PREFIX_THEME_REF;
-import static com.android.SdkConstants.REFERENCE_STYLE;
-import static com.android.SdkConstants.STYLE_RESOURCE_PREFIX;
-import static com.android.SdkConstants.TAG_ITEM;
-import static com.android.SdkConstants.TAG_RESOURCES;
-import static com.android.SdkConstants.TAG_STYLE;
-import static com.android.SdkConstants.TOOLS_URI;
-import static com.android.utils.SdkUtils.endsWithIgnoreCase;
-import static java.nio.charset.StandardCharsets.UTF_8;
-import static org.objectweb.asm.ClassReader.SKIP_DEBUG;
-import static org.objectweb.asm.ClassReader.SKIP_FRAMES;
-
-import com.android.SdkConstants;
-import com.android.annotations.NonNull;
-import com.android.annotations.Nullable;
-import com.android.annotations.VisibleForTesting;
-import com.android.ide.common.resources.ResourceUrl;
-import com.android.ide.common.xml.XmlPrettyPrinter;
-import com.android.resources.FolderTypeRelationship;
-import com.android.resources.ResourceFolderType;
-import com.android.resources.ResourceType;
-import com.android.tools.lint.checks.ResourceUsageModel;
-import com.android.tools.lint.checks.ResourceUsageModel.Resource;
-import com.android.tools.lint.checks.StringFormatDetector;
-import com.android.tools.lint.detector.api.LintUtils;
-import com.android.utils.AsmUtils;
-import com.android.utils.Pair;
-import com.android.utils.XmlUtils;
-import com.google.common.base.Function;
-import com.google.common.base.Joiner;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-import com.google.common.collect.Sets;
-import com.google.common.io.ByteStreams;
-import com.google.common.io.Closeables;
-import com.google.common.io.Files;
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.nio.file.Path;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.logging.FileHandler;
-import java.util.logging.Formatter;
-import java.util.logging.Level;
-import java.util.logging.LogRecord;
-import java.util.logging.Logger;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-import java.util.regex.PatternSyntaxException;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipInputStream;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import org.objectweb.asm.AnnotationVisitor;
-import org.objectweb.asm.ClassReader;
-import org.objectweb.asm.ClassVisitor;
-import org.objectweb.asm.FieldVisitor;
-import org.objectweb.asm.MethodVisitor;
-import org.objectweb.asm.Opcodes;
-import org.w3c.dom.Attr;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
-
-/**
- * Class responsible for searching through a Gradle built tree (after resource merging, compilation
- * and ProGuarding has been completed, but before final .apk assembly), which figures out which
- * resources if any are unused, and removes them.
- *
- * <p>It does this by examining
- *
- * <ul>
- *   <li>The merged manifest, to find root resource references (such as drawables used for activity
- *       icons)
- *   <li>The R.txt file (to find the actual integer constants assigned to resources)
- *   <li>The ProGuard log files (to find the mapping from original symbol names to short names)
- *   <li>The merged resources (to find which resources reference other resources, e.g. drawable
- *       state lists including other drawables, or layouts including other layouts, or styles
- *       referencing other drawables, or menus items including action layouts, etc.)
- *   <li>The ProGuard output classes (to find resource references in code that are actually
- *       reachable)
- * </ul>
- *
- * From all this, it builds up a reference graph, and based on the root references (e.g. from the
- * manifest and from the remaining code) it computes which resources are actually reachable in the
- * app, and anything that is not reachable is then marked for deletion.
- *
- * <p>A resource is referenced in code if either the field R.type.name is referenced (which is the
- * case for non-final resource references, e.g. in libraries), or if the corresponding int value is
- * referenced (for final resource values). We check this by looking at the ProGuard output classes
- * with an ASM visitor. One complication is that code can also call {@code
- * Resources#getIdentifier(String,String,String)} where they can pass in the names of resources to
- * look up. To handle this scenario, we use the ClassVisitor to see if there are any calls to the
- * specific {@code Resources#getIdentifier} method. If not, great, the usage analysis is completely
- * accurate. If we <b>do</b> find one, we check <b>all</b> the string constants found anywhere in
- * the app, and look to see if any look relevant. For example, if we find the string "string/foo" or
- * "my.pkg:string/foo", we will then mark the string resource named foo (if any) as potentially
- * used. Similarly, if we find just "foo" or "/foo", we will mark <b>all</b> resources named "foo"
- * as potentially used. However, if the string is "bar/foo" or " foo " these strings are ignored.
- * This means we can potentially miss resources usages where the resource name is completed computed
- * (e.g. by concatenating individual characters or taking substrings of strings that do not look
- * like resource names), but that seems extremely unlikely to be a real-world scenario.
- */
-public class ResourceUsageAnalyzer {
-  private static final String ANDROID_RES = "android_res/";
-
-  /** Special marker regexp which does not match a resource name */
-  static final String NO_MATCH = "-nomatch-";
-
-  private final ResourceShrinkerUsageModel model;
-  private final Set<String> resourcePackages;
-  private final Path rTxt;
-  private final Path proguardMapping;
-  private final Path classes;
-  private final Path mergedManifest;
-  private final Path mergedResourceDir;
-  private final Logger logger;
-  private final Map<String, ArrayList<Integer>> styleableToAttrs = Maps.newHashMap();
-
-  /** The computed set of unused resources */
-  private List<Resource> unused;
-  /**
-   * Map from resource class owners (VM format class) to corresponding resource entries. This lets
-   * us map back from code references (obfuscated class and possibly obfuscated field reference)
-   * back to the corresponding resource type and name.
-   */
-  private Map<String, Pair<ResourceType, Map<String, String>>> resourceObfuscation =
-      Maps.newHashMapWithExpectedSize(30);
-  /** Obfuscated name of android/support/v7/widget/SuggestionsAdapter.java */
-  private String suggestionsAdapter;
-  /** Obfuscated name of android/support/v7/internal/widget/ResourcesWrapper.java */
-  private String resourcesWrapper;
-
-  public ResourceUsageAnalyzer(
-      Set<String> resourcePackages,
-      @NonNull Path rTxt,
-      @NonNull Path classes,
-      @NonNull Path manifest,
-      @Nullable Path mapping,
-      @NonNull Path resources,
-      @Nullable Path logFile)
-      throws DOMException, ParserConfigurationException {
-    this.model = new ResourceShrinkerUsageModel();
-    this.resourcePackages = resourcePackages;
-    this.rTxt = rTxt;
-    this.proguardMapping = mapping;
-    this.classes = classes;
-    this.mergedManifest = manifest;
-    this.mergedResourceDir = resources;
-
-    this.logger = Logger.getLogger(getClass().getName());
-    logger.setLevel(Level.FINE);
-    if (logFile != null) {
-      try {
-        FileHandler fileHandler = new FileHandler(logFile.toString());
-        fileHandler.setLevel(Level.FINE);
-        fileHandler.setFormatter(
-            new Formatter() {
-              @Override
-              public String format(LogRecord record) {
-                return record.getMessage() + "\n";
-              }
-            });
-        logger.addHandler(fileHandler);
-      } catch (SecurityException | IOException e) {
-        logger.warning(String.format("Unable to open '%s' to write log.", logFile));
-      }
-    }
-  }
-
-  protected ResourceShrinkerUsageModel model() {
-    return model;
-  }
-
-  public void shrink(Path destinationDir)
-      throws IOException, ParserConfigurationException, SAXException {
-    parseResourceTxtFile(rTxt, resourcePackages);
-    recordMapping(proguardMapping);
-    recordClassUsages(classes);
-    recordManifestUsages(mergedManifest);
-    recordResources(mergedResourceDir);
-    keepPossiblyReferencedResources();
-    dumpReferences();
-    model.processToolsAttributes();
-    unused = model.findUnused();
-    removeUnused(destinationDir);
-  }
-
-  /**
-   * Remove resources (already identified by {@link #shrink(Path)}).
-   *
-   * <p>This task will copy all remaining used resources over from the full resource directory to a
-   * new reduced resource directory and removes unused values from all value xml files.
-   *
-   * @param destination directory to copy resources into; if null, delete resources in place
-   * @throws IOException
-   * @throws ParserConfigurationException
-   * @throws SAXException
-   */
-  private void removeUnused(Path destination)
-      throws IOException, ParserConfigurationException, SAXException {
-    assert unused != null; // should always call analyze() first
-    int resourceCount = unused.size() * 4; // *4: account for some resource folder repetition
-    Set<File> skip = Sets.newHashSetWithExpectedSize(resourceCount);
-    Set<File> rewrite = Sets.newHashSetWithExpectedSize(resourceCount);
-    Set<Resource> deleted = Sets.newHashSetWithExpectedSize(resourceCount);
-    for (Resource resource : unused) {
-      if (resource.declarations != null) {
-        for (File file : resource.declarations) {
-          String folder = file.getParentFile().getName();
-          ResourceFolderType folderType = ResourceFolderType.getFolderType(folder);
-          if (folderType != null && folderType != ResourceFolderType.VALUES) {
-            List<ResourceType> types = FolderTypeRelationship.getRelatedResourceTypes(folderType);
-            ResourceType type = types.get(0);
-            assert type != ResourceType.ID : folderType;
-            Resource fileResource = model.getResource(type, LintUtils.getBaseName(file.getName()));
-            // Only delete the file if there is no owning resource or this is the owning resource of
-            // the file, i.e. not an id declared within it, because id declarations are not
-            // considered uses and would otherwise cause deletion of the file.
-            if (fileResource == null || fileResource.equals(resource)) {
-              logger.fine("Deleted unused file " + file + " for resource " + resource);
-              assert skip != null;
-              skip.add(file);
-              deleted.add(resource);
-            }
-          } else {
-            // Can't delete values immediately; there can be many resources
-            // in this file, so we have to process them all
-            rewrite.add(file);
-          }
-        }
-      } else {
-        // Not declared anywhere; mark as deleted. Covers the case of inline resources.
-        // https://developer.android.com/guide/topics/resources/complex-xml-resources.html
-        deleted.add(resource);
-      }
-    }
-    // Special case the base values.xml folder
-    File values =
-        new File(mergedResourceDir.toFile(), FD_RES_VALUES + File.separatorChar + "values.xml");
-    if (values.exists()) {
-      rewrite.add(values);
-    }
-
-    Map<File, String> rewritten = Maps.newHashMapWithExpectedSize(rewrite.size());
-    rewriteXml(rewrite, rewritten, deleted);
-    // TODO(apell): The graph traversal does not mark IDs as reachable or not, so they cannot be
-    // accurately removed from public.xml, but the definitions may be deleted if they occur in
-    // other files. IDs should be added to values.xml so that there are no declarations in
-    // public.xml without definitions.
-    File publicXml =
-        new File(mergedResourceDir.toFile(), FD_RES_VALUES + File.separatorChar + "public.xml");
-    createStubIds(values, rewritten, publicXml);
-
-    trimPublicResources(publicXml, deleted, rewritten);
-
-    filteredCopy(mergedResourceDir.toFile(), destination, skip, rewritten);
-  }
-
-  /** Deletes unused resources from value XML files. */
-  private void rewriteXml(Set<File> rewrite, Map<File, String> rewritten, Set<Resource> deleted)
-      throws IOException, ParserConfigurationException, SAXException {
-    // Delete value resources: Must rewrite the XML files
-    for (File file : rewrite) {
-      String xml = Files.toString(file, UTF_8);
-      Document document = XmlUtils.parseDocument(xml, true);
-      Element root = document.getDocumentElement();
-      if (root != null && TAG_RESOURCES.equals(root.getTagName())) {
-        List<Resource> removed = Lists.newArrayList();
-        stripUnused(root, removed);
-        deleted.addAll(removed);
-        logger.fine(
-            String.format(
-                "Removed %d unused resources from %s:\n  %s",
-                removed.size(),
-                file,
-                Joiner.on(", ")
-                    .join(
-                        Lists.transform(
-                            removed,
-                            new Function<Resource, String>() {
-                              @Override
-                              public String apply(Resource resource) {
-                                return resource.getUrl();
-                              }
-                            }))));
-        String formatted = XmlPrettyPrinter.prettyPrint(document, xml.endsWith("\n"));
-        rewritten.put(file, formatted);
-      }
-    }
-  }
-
-  /** Write stub values for IDs to values.xml to match those available in public.xml. */
-  private void createStubIds(File values, Map<File, String> rewritten, File publicXml)
-      throws IOException, ParserConfigurationException, SAXException {
-    if (values.exists()) {
-      String xml = rewritten.get(values);
-      if (xml == null) {
-        xml = Files.toString(values, UTF_8);
-      }
-      List<String> stubbed = Lists.newArrayList();
-      Document document = XmlUtils.parseDocument(xml, true);
-      Element root = document.getDocumentElement();
-      for (Resource resource : model.getResources()) {
-        boolean inPublicXml =
-            resource.declarations != null && resource.declarations.contains(publicXml);
-        if (resource.type != ResourceType.ID || !inPublicXml) {
-          continue;
-        }
-        boolean exists = false;
-        NodeList items = document.getElementsByTagName("item");
-        for (int i = 0; i < items.getLength(); i++) {
-          Node item = items.item(i);
-          if (item.getAttributes() != null
-              && item.getAttributes().getNamedItem("type") != null
-              && item.getAttributes().getNamedItem("type").getNodeValue().equals("id")
-              && item.getAttributes().getNamedItem("name") != null
-              && item.getAttributes().getNamedItem("name").getNodeValue().equals(resource.name)) {
-            exists = true;
-            break;
-          }
-        }
-        if (!exists) {
-          Element item = document.createElement(TAG_ITEM);
-          item.setAttribute(ATTR_TYPE, resource.type.getName());
-          item.setAttribute(ATTR_NAME, resource.name);
-          root.appendChild(item);
-          stubbed.add(resource.getUrl());
-        }
-      }
-      logger.fine(
-          "Created " + stubbed.size() + " stub IDs for:\n  " + Joiner.on(", ").join(stubbed));
-      String formatted = XmlPrettyPrinter.prettyPrint(document, xml.endsWith("\n"));
-      rewritten.put(values, formatted);
-    }
-  }
-
-  /** Remove public definitions of unused resources. */
-  private void trimPublicResources(
-      File publicXml, Set<Resource> deleted, Map<File, String> rewritten)
-      throws IOException, ParserConfigurationException, SAXException {
-    if (publicXml.exists()) {
-      String xml = rewritten.get(publicXml);
-      if (xml == null) {
-        xml = Files.toString(publicXml, UTF_8);
-      }
-      Document document = XmlUtils.parseDocument(xml, true);
-      Element root = document.getDocumentElement();
-      if (root != null && TAG_RESOURCES.equals(root.getTagName())) {
-        NodeList children = root.getChildNodes();
-        for (int i = children.getLength() - 1; i >= 0; i--) {
-          Node child = children.item(i);
-          if (child.getNodeType() == Node.ELEMENT_NODE) {
-            Element resourceElement = (Element) child;
-            ResourceType type = ResourceType.getEnum(resourceElement.getAttribute(ATTR_TYPE));
-            String name = resourceElement.getAttribute(ATTR_NAME);
-            if (type != null && name != null) {
-              Resource resource = model.getResource(type, name);
-              if (resource != null && deleted.contains(resource)) {
-                root.removeChild(child);
-              }
-            }
-          }
-        }
-      }
-      String formatted = XmlPrettyPrinter.prettyPrint(document, xml.endsWith("\n"));
-      rewritten.put(publicXml, formatted);
-    }
-  }
-
-  /**
-   * Copies one resource directory tree into another; skipping some files, replacing the contents of
-   * some, and passing everything else through unmodified
-   */
-  private static void filteredCopy(
-      File source, Path destination, Set<File> skip, Map<File, String> replace) throws IOException {
-
-    File destinationFile = destination.toFile();
-    if (source.isDirectory()) {
-      File[] children = source.listFiles();
-      if (children != null) {
-        if (!destinationFile.exists()) {
-          boolean success = destinationFile.mkdirs();
-          if (!success) {
-            throw new IOException("Could not create " + destination);
-          }
-        }
-        for (File child : children) {
-          filteredCopy(child, destination.resolve(child.getName()), skip, replace);
-        }
-      }
-    } else if (!skip.contains(source) && source.isFile()) {
-      String contents = replace.get(source);
-      if (contents != null) {
-        Files.write(contents, destinationFile, UTF_8);
-      } else {
-        Files.copy(source, destinationFile);
-      }
-    }
-  }
-
-  private void stripUnused(Element element, List<Resource> removed) {
-    ResourceType type = ResourceUsageModel.getResourceType(element);
-    if (type == ResourceType.ATTR) {
-      // Not yet properly handled
-      return;
-    }
-    Resource resource = model.getResource(element);
-    if (resource != null) {
-      if (resource.type == ResourceType.DECLARE_STYLEABLE || resource.type == ResourceType.ATTR) {
-        // Don't strip children of declare-styleable; we're not correctly
-        // tracking field references of the R_styleable_attr fields yet
-        return;
-      }
-      if (!resource.isReachable()
-          && (resource.type == ResourceType.STYLE
-              || resource.type == ResourceType.PLURALS
-              || resource.type == ResourceType.ARRAY)) {
-        NodeList children = element.getChildNodes();
-        for (int i = children.getLength() - 1; i >= 0; i--) {
-          Node child = children.item(i);
-          element.removeChild(child);
-        }
-      }
-    }
-    NodeList children = element.getChildNodes();
-    for (int i = children.getLength() - 1; i >= 0; i--) {
-      Node child = children.item(i);
-      if (child.getNodeType() == Node.ELEMENT_NODE) {
-        stripUnused((Element) child, removed);
-      }
-    }
-    if (resource != null && !resource.isReachable() && resource.type != ResourceType.ID) {
-      removed.add(resource);
-      Node parent = element.getParentNode();
-      parent.removeChild(element);
-    }
-  }
-
-  protected void dumpReferences() {
-    logger.fine(model.dumpReferences());
-  }
-
-  protected void keepPossiblyReferencedResources() {
-    if ((!foundGetIdentifier && !foundWebContent) || strings == null) {
-      // No calls to android.content.res.Resources#getIdentifier; no need
-      // to worry about string references to resources
-      return;
-    }
-    if (!model.isSafeMode()) {
-      // User specifically asked for us not to guess resources to keep; they will
-      // explicitly mark them as kept if necessary instead
-      return;
-    }
-    List<String> sortedStrings = new ArrayList<String>(strings);
-    Collections.sort(sortedStrings);
-    logger.fine("android.content.res.Resources#getIdentifier present: " + foundGetIdentifier);
-    logger.fine("Web content present: " + foundWebContent);
-    logger.fine("Referenced Strings:");
-    for (String string : sortedStrings) {
-      string = string.trim().replace("\n", "\\n");
-      if (string.length() > 40) {
-        string = string.substring(0, 37) + "...";
-      } else if (string.isEmpty()) {
-        continue;
-      }
-      logger.fine("  " + string);
-    }
-    int shortest = Integer.MAX_VALUE;
-    Set<String> names = Sets.newHashSetWithExpectedSize(50);
-    for (Resource resource : model.getResources()) {
-      String name = resource.name;
-      names.add(name);
-      int length = name.length();
-      if (length < shortest) {
-        shortest = length;
-      }
-    }
-    for (String string : strings) {
-      if (string.length() < shortest) {
-        continue;
-      }
-      // Check whether the string looks relevant
-      // We consider four types of strings:
-      //  (1) simple resource names, e.g. "foo" from @layout/foo
-      //      These might be the parameter to a getIdentifier() call, or could
-      //      be composed into a fully qualified resource name for the getIdentifier()
-      //      method. We match these for *all* resource types.
-      //  (2) Relative source names, e.g. layout/foo, from @layout/foo
-      //      These might be composed into a fully qualified resource name for
-      //      getIdentifier().
-      //  (3) Fully qualified resource names of the form package:type/name.
-      //  (4) If foundWebContent is true, look for android_res/ URL strings as well
-      if (foundWebContent) {
-        Resource resource = model.getResourceFromFilePath(string);
-        if (resource != null) {
-          if (ResourceUsageModel.markReachable(resource)) {
-            logger.warning(
-                String.format(
-                    "Marking %s used because it matches resource with file path %s",
-                    resource, string));
-          }
-          continue;
-        } else {
-          int start = 0;
-          int slash = string.lastIndexOf('/');
-          if (slash != -1) {
-            start = slash + 1;
-          }
-          int dot = string.indexOf('.', start);
-          String name = string.substring(start, dot != -1 ? dot : string.length());
-          if (names.contains(name)) {
-            for (Map<String, Resource> map : model.getResourceMaps()) {
-              resource = map.get(name);
-              if (ResourceUsageModel.markReachable(resource)) {
-                logger.fine(
-                    String.format(
-                        "Marking %s used because it matches string pool constant %s",
-                        resource, string));
-              }
-            }
-          }
-        }
-      }
-      // Look for normal getIdentifier resource URLs
-      int n = string.length();
-      boolean justName = true;
-      boolean formatting = false;
-      boolean haveSlash = false;
-      for (int i = 0; i < n; i++) {
-        char c = string.charAt(i);
-        if (c == '/') {
-          haveSlash = true;
-          justName = false;
-        } else if (c == '.' || c == ':' || c == '%') {
-          justName = false;
-          if (c == '%') {
-            formatting = true;
-          }
-        } else if (!Character.isJavaIdentifierPart(c)) {
-          // This shouldn't happen; we've filtered out these strings in
-          // the {@link #referencedString} method
-          assert false : string;
-          break;
-        }
-      }
-      String name;
-      if (justName) {
-        // Check name (below)
-        name = string;
-        // Check for a simple prefix match, e.g. as in
-        // getResources().getIdentifier("ic_video_codec_" + codecName, "drawable", ...)
-        for (Resource resource : model.getResources()) {
-          if (resource.name.startsWith(name)) {
-            if (ResourceUsageModel.markReachable(resource)) {
-              logger.fine(
-                  String.format(
-                      "Marking %s used because its prefix matches string pool constant %s",
-                      resource, string));
-            }
-          }
-        }
-      } else if (!haveSlash) {
-        if (formatting) {
-          // Possibly a formatting string, e.g.
-          //   String name = String.format("my_prefix_%1d", index);
-          //   int res = getContext().getResources().getIdentifier(name, "drawable", ...)
-          try {
-            Pattern pattern = Pattern.compile(convertFormatStringToRegexp(string));
-            for (Resource resource : model.getResources()) {
-              if (pattern.matcher(resource.name).matches()) {
-                if (ResourceUsageModel.markReachable(resource)) {
-                  logger.fine(
-                      String.format(
-                          "Marking %s used because it format-string matches string pool constant %s",
-                          resource, string));
-                }
-              }
-            }
-          } catch (PatternSyntaxException ignored) {
-            // Might not have been a formatting string after all!
-          }
-        }
-        // If we have more than just a symbol name, we expect to also see a slash
-        //noinspection UnnecessaryContinue
-        continue;
-      } else {
-        // Try to pick out the resource name pieces; if we can find the
-        // resource type unambiguously; if not, just match on names
-        int slash = string.indexOf('/');
-        assert slash != -1; // checked with haveSlash above
-        name = string.substring(slash + 1);
-        if (name.isEmpty() || !names.contains(name)) {
-          continue;
-        }
-        // See if have a known specific resource type
-        if (slash > 0) {
-          int colon = string.indexOf(':');
-          String typeName = string.substring(colon != -1 ? colon + 1 : 0, slash);
-          ResourceType type = ResourceType.getEnum(typeName);
-          if (type == null) {
-            continue;
-          }
-          Resource resource = model.getResource(type, name);
-          if (ResourceUsageModel.markReachable(resource)) {
-            logger.fine(
-                String.format(
-                    "Marking %s used because it matches string pool constant %s",
-                    resource, string));
-          }
-          continue;
-        }
-        // fall through and check the name
-      }
-      if (names.contains(name)) {
-        for (Map<String, Resource> map : model.getResourceMaps()) {
-          Resource resource = map.get(name);
-          if (ResourceUsageModel.markReachable(resource)) {
-            logger.fine(
-                String.format(
-                    "Marking %s used because it matches string pool constant %s",
-                    resource, string));
-          }
-        }
-      } else if (Character.isDigit(name.charAt(0))) {
-        // Just a number? There are cases where it calls getIdentifier by
-        // a String number; see for example SuggestionsAdapter in the support
-        // library which reports supporting a string like "2130837524" and
-        // "android.resource://com.android.alarmclock/2130837524".
-        try {
-          int id = Integer.parseInt(name);
-          if (id != 0) {
-            Resource resource = model.getResource(id);
-            if (ResourceUsageModel.markReachable(resource)) {
-              logger.fine(
-                  String.format("Marking %s used because it has a matching id %s", resource, name));
-            }
-          }
-        } catch (NumberFormatException e) {
-          // pass
-        }
-      }
-    }
-  }
-
-  @VisibleForTesting
-  static String convertFormatStringToRegexp(String formatString) {
-    StringBuilder regexp = new StringBuilder();
-    int from = 0;
-    boolean hasEscapedLetters = false;
-    Matcher matcher = StringFormatDetector.FORMAT.matcher(formatString);
-    int length = formatString.length();
-    while (matcher.find(from)) {
-      int start = matcher.start();
-      int end = matcher.end();
-      if (start == 0 && end == length) {
-        // Don't match if the entire string literal starts with % and ends with
-        // the a formatting character, such as just "%d": this just matches absolutely
-        // everything and is unlikely to be used in a resource lookup
-        return NO_MATCH;
-      }
-      if (start > from) {
-        hasEscapedLetters |= appendEscapedPattern(formatString, regexp, from, start);
-      }
-      // If the wildcard follows a previous wildcard, just skip it
-      // (e.g. don't convert %s%s into .*.*; .* is enough.
-      int regexLength = regexp.length();
-      if (regexLength < 2
-          || regexp.charAt(regexLength - 1) != '*'
-          || regexp.charAt(regexLength - 2) != '.') {
-        regexp.append(".*");
-      }
-      from = end;
-    }
-    if (from < length) {
-      hasEscapedLetters |= appendEscapedPattern(formatString, regexp, from, length);
-    }
-    if (!hasEscapedLetters) {
-      // If the regexp contains *only* formatting characters, e.g. "%.0f%d", or
-      // if it contains only formatting characters and punctuation, e.g. "%s_%d",
-      // don't treat this as a possible resource name pattern string: it is unlikely
-      // to be intended for actual resource names, and has the side effect of matching
-      // most names.
-      return NO_MATCH;
-    }
-    return regexp.toString();
-  }
-
-  /**
-   * Appends the characters in the range [from,to> from formatString as escaped regexp characters
-   * into the given string builder. Returns true if there were any letters in the appended text.
-   */
-  private static boolean appendEscapedPattern(
-      @NonNull String formatString, @NonNull StringBuilder regexp, int from, int to) {
-    regexp.append(Pattern.quote(formatString.substring(from, to)));
-    for (int i = from; i < to; i++) {
-      if (Character.isLetter(formatString.charAt(i))) {
-        return true;
-      }
-    }
-    return false;
-  }
-
-  private void recordResources(Path resDir)
-      throws IOException, SAXException, ParserConfigurationException {
-
-    File[] resourceFolders = resDir.toFile().listFiles();
-    if (resourceFolders != null) {
-      for (File folder : resourceFolders) {
-        ResourceFolderType folderType = ResourceFolderType.getFolderType(folder.getName());
-        if (folderType != null) {
-          recordResources(folderType, folder);
-        }
-      }
-    }
-  }
-
-  private void recordResources(@NonNull ResourceFolderType folderType, File folder)
-      throws ParserConfigurationException, SAXException, IOException {
-    File[] files = folder.listFiles();
-    if (files != null) {
-      for (File file : files) {
-        String path = file.getPath();
-        model.file = file;
-        try {
-          boolean isXml = endsWithIgnoreCase(path, DOT_XML);
-          if (isXml) {
-            String xml = Files.toString(file, UTF_8);
-            Document document = XmlUtils.parseDocument(xml, true);
-            model.visitXmlDocument(file, folderType, document);
-          } else {
-            model.visitBinaryResource(folderType, file);
-          }
-        } finally {
-          model.file = null;
-        }
-      }
-    }
-  }
-
-  private void recordMapping(@Nullable Path mapping) throws IOException {
-    if (mapping == null || !mapping.toFile().exists()) {
-      return;
-    }
-    final String arrowIndicator = " -> ";
-    final String resourceIndicator = ".R$";
-    Map<String, String> nameMap = null;
-    for (String line : Files.readLines(mapping.toFile(), UTF_8)) {
-      if (line.startsWith(" ") || line.startsWith("\t")) {
-        if (nameMap != null) {
-          // We're processing the members of a resource class: record names into the map
-          int n = line.length();
-          int i = 0;
-          for (; i < n; i++) {
-            if (!Character.isWhitespace(line.charAt(i))) {
-              break;
-            }
-          }
-          if (i < n && line.startsWith("int", i)) { // int or int[]
-            int start = line.indexOf(' ', i + 3) + 1;
-            int arrow = line.indexOf(arrowIndicator);
-            if (start > 0 && arrow != -1) {
-              int end = line.indexOf(' ', start + 1);
-              if (end != -1) {
-                String oldName = line.substring(start, end);
-                String newName = line.substring(arrow + arrowIndicator.length()).trim();
-                if (!newName.equals(oldName)) {
-                  nameMap.put(newName, oldName);
-                }
-              }
-            }
-          }
-        }
-        continue;
-      } else {
-        nameMap = null;
-      }
-      int index = line.indexOf(resourceIndicator);
-      if (index == -1) {
-        // Record obfuscated names of a few known appcompat usages of
-        // Resources#getIdentifier that are unlikely to be used for general
-        // resource name reflection
-        if (line.startsWith("android.support.v7.widget.SuggestionsAdapter ")) {
-          suggestionsAdapter =
-              line.substring(
-                          line.indexOf(arrowIndicator) + arrowIndicator.length(),
-                          line.indexOf(':') != -1 ? line.indexOf(':') : line.length())
-                      .trim()
-                      .replace('.', '/')
-                  + DOT_CLASS;
-        } else if (line.startsWith("android.support.v7.internal.widget.ResourcesWrapper ")
-            || line.startsWith("android.support.v7.widget.ResourcesWrapper ")
-            || (resourcesWrapper == null // Recently wrapper moved
-                && line.startsWith(
-                    "android.support.v7.widget.TintContextWrapper$TintResources "))) {
-          resourcesWrapper =
-              line.substring(
-                          line.indexOf(arrowIndicator) + arrowIndicator.length(),
-                          line.indexOf(':') != -1 ? line.indexOf(':') : line.length())
-                      .trim()
-                      .replace('.', '/')
-                  + DOT_CLASS;
-        }
-        continue;
-      }
-      int arrow = line.indexOf(arrowIndicator, index + 3);
-      if (arrow == -1) {
-        continue;
-      }
-      String typeName = line.substring(index + resourceIndicator.length(), arrow);
-      ResourceType type = ResourceType.getEnum(typeName);
-      if (type == null) {
-        continue;
-      }
-      int end = line.indexOf(':', arrow + arrowIndicator.length());
-      if (end == -1) {
-        end = line.length();
-      }
-      String target = line.substring(arrow + arrowIndicator.length(), end).trim();
-      String ownerName = AsmUtils.toInternalName(target);
-      nameMap = Maps.newHashMap();
-      Pair<ResourceType, Map<String, String>> pair = Pair.of(type, nameMap);
-      resourceObfuscation.put(ownerName, pair);
-      // For fast lookup in isResourceClass
-      resourceObfuscation.put(ownerName + DOT_CLASS, pair);
-    }
-  }
-
-  private void recordManifestUsages(Path manifest)
-      throws IOException, ParserConfigurationException, SAXException {
-    String xml = Files.toString(manifest.toFile(), UTF_8);
-    Document document = XmlUtils.parseDocument(xml, true);
-    model.visitXmlDocument(manifest.toFile(), null, document);
-  }
-
-  public static String getFieldName(@NonNull String styleName) {
-    return styleName.replace('.', '_').replace('-', '_').replace(':', '_');
-  }
-
-  private Set<String> strings;
-  private boolean foundGetIdentifier;
-  private boolean foundWebContent;
-
-  private void referencedString(@NonNull String string) {
-    // See if the string is at all eligible; ignore strings that aren't
-    // identifiers (has java identifier chars and nothing but .:/), or are empty or too long
-    // We also allow "%", used for formatting strings.
-    if (string.isEmpty() || string.length() > 80) {
-      return;
-    }
-    boolean haveIdentifierChar = false;
-    for (int i = 0, n = string.length(); i < n; i++) {
-      char c = string.charAt(i);
-      boolean identifierChar = Character.isJavaIdentifierPart(c);
-      if (!identifierChar && c != '.' && c != ':' && c != '/' && c != '%') {
-        // .:/ are for the fully qualified resource names, or for resource URLs or
-        // relative file names
-        return;
-      } else if (identifierChar) {
-        haveIdentifierChar = true;
-      }
-    }
-    if (!haveIdentifierChar) {
-      return;
-    }
-    if (strings == null) {
-      strings = Sets.newHashSetWithExpectedSize(300);
-    }
-    strings.add(string);
-
-    if (!foundWebContent && string.contains(ANDROID_RES)) {
-      foundWebContent = true;
-    }
-  }
-
-  protected void recordClassUsages(Path file) throws IOException {
-    if (file.toFile().isDirectory()) {
-      File[] children = file.toFile().listFiles();
-      if (children != null) {
-        for (File child : children) {
-          recordClassUsages(child.toPath());
-        }
-      }
-    } else if (file.toFile().isFile()) {
-      if (file.toFile().getPath().endsWith(DOT_CLASS)) {
-        byte[] bytes = Files.toByteArray(file.toFile());
-        recordClassUsages(file.toFile(), file.toFile().getName(), bytes);
-      } else if (file.toFile().getPath().endsWith(DOT_JAR)) {
-        ZipInputStream zis = null;
-        try {
-          FileInputStream fis = new FileInputStream(file.toFile());
-          try {
-            zis = new ZipInputStream(fis);
-            ZipEntry entry = zis.getNextEntry();
-            while (entry != null) {
-              String name = entry.getName();
-              if (name.endsWith(DOT_CLASS)
-                  &&
-                  // Skip resource type classes like R$drawable; they will
-                  // reference the integer id's we're looking for, but these aren't
-                  // actual usages we need to track; if somebody references the
-                  // field elsewhere, we'll catch that
-                  !isResourceClass(name)) {
-                byte[] bytes = ByteStreams.toByteArray(zis);
-                if (bytes != null) {
-                  recordClassUsages(file.toFile(), name, bytes);
-                }
-              }
-              entry = zis.getNextEntry();
-            }
-          } finally {
-            Closeables.close(fis, true);
-          }
-        } finally {
-          Closeables.close(zis, true);
-        }
-      }
-    }
-  }
-
-  private void recordClassUsages(File file, String name, byte[] bytes) {
-    ClassReader classReader = new ClassReader(bytes);
-    classReader.accept(new UsageVisitor(file, name), SKIP_DEBUG | SKIP_FRAMES);
-  }
-
-  private void parseResourceTxtFile(Path rTxt, Set<String> resourcePackages) throws IOException {
-    BufferedReader reader = java.nio.file.Files.newBufferedReader(rTxt, UTF_8);
-    String line;
-    while ((line = reader.readLine()) != null) {
-      String[] tokens = line.split(" ");
-      ResourceType type = ResourceType.getEnum(tokens[1]);
-      for (String resourcePackage : resourcePackages) {
-        String owner = resourcePackage.replace('.', '/') + "/R$" + type.getName();
-        Pair<ResourceType, Map<String, String>> pair = resourceObfuscation.get(owner);
-        if (pair == null) {
-          Map<String, String> nameMap = Maps.newHashMap();
-          pair = Pair.of(type, nameMap);
-        }
-        resourceObfuscation.put(owner, pair);
-      }
-      if (type == ResourceType.STYLEABLE) {
-        if (tokens[0].equals("int[]")) {
-          ArrayList<Integer> values = new ArrayList<>();
-          for (int i = 4; ; ++i) { // skip tokens "int[] identifier = {"
-            String token = tokens[i];
-            if (token.equals("}")) {
-              // empty set?
-              break;
-            }
-
-            if (token.endsWith(",")) {
-              // strip trailing comma
-              token = token.substring(0, token.length() - 1);
-              values.add(Integer.decode(token));
-            } else {
-              values.add(Integer.decode(token));
-              // no comma means that this is the last value
-              break;
-            }
-          }
-
-          styleableToAttrs.put(tokens[2], values);
-          model.addResource(ResourceType.DECLARE_STYLEABLE, tokens[2], null);
-        } else {
-          // TODO(jongerrish): Implement stripping of styleables.
-        }
-      } else {
-        model.addResource(type, tokens[2], tokens[3]);
-      }
-    }
-  }
-
-  /** Returns whether the given class file name points to an aapt-generated compiled R class */
-  @VisibleForTesting
-  boolean isResourceClass(@NonNull String name) {
-    if (resourceObfuscation.containsKey(name)) {
-      return true;
-    }
-    assert name.endsWith(DOT_CLASS) : name;
-    int index = name.lastIndexOf('/');
-    if (index != -1 && name.startsWith("R$", index + 1)) {
-      String typeName = name.substring(index + 3, name.length() - DOT_CLASS.length());
-      return ResourceType.getEnum(typeName) != null;
-    }
-    return false;
-  }
-
-  @VisibleForTesting
-  @Nullable
-  Resource getResourceFromCode(@NonNull String owner, @NonNull String name) {
-    Pair<ResourceType, Map<String, String>> pair = resourceObfuscation.get(owner);
-    if (pair != null) {
-      ResourceType type = pair.getFirst();
-      Map<String, String> nameMap = pair.getSecond();
-      String renamedField = nameMap.get(name);
-      if (renamedField != null) {
-        name = renamedField;
-      }
-      return model.getResource(type, name);
-    }
-    return null;
-  }
-
-  public int getUnusedResourceCount() {
-    return unused.size();
-  }
-
-  @VisibleForTesting
-  ResourceUsageModel getModel() {
-    return model;
-  }
-
-  /**
-   * Class visitor responsible for looking for resource references in code. It looks for R.type.name
-   * references (as well as inlined constants for these, in the case of non-library code), as well
-   * as looking both for Resources#getIdentifier calls and recording string literals, used to handle
-   * dynamic lookup of resources.
-   */
-  private class UsageVisitor extends ClassVisitor {
-    private final File jarFile;
-    private final String currentClass;
-
-    public UsageVisitor(File jarFile, String name) {
-      super(Opcodes.ASM7);
-      this.jarFile = jarFile;
-      currentClass = name;
-    }
-
-    @Override
-    public MethodVisitor visitMethod(
-        int access, final String name, String desc, String signature, String[] exceptions) {
-      return new MethodVisitor(Opcodes.ASM7) {
-        @Override
-        public void visitLdcInsn(Object cst) {
-          handleCodeConstant(cst, "ldc");
-        }
-
-        @Override
-        public void visitFieldInsn(int opcode, String owner, String name, String desc) {
-          if (opcode == Opcodes.GETSTATIC) {
-            Resource resource = getResourceFromCode(owner, name);
-            if (ResourceUsageModel.markReachable(resource)) {
-              logger.fine(
-                  String.format(
-                      "Marking %s used because it matches GETSTATIC instruction coming from %s (%s)",
-                      resource, owner, name));
-            }
-          }
-        }
-
-        @Override
-        public void visitMethodInsn(
-            int opcode, String owner, String name, String desc, boolean itf) {
-          super.visitMethodInsn(opcode, owner, name, desc, itf);
-          if (owner.equals("android/content/res/Resources")
-              && name.equals("getIdentifier")
-              && desc.equals("(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I")) {
-            if (currentClass.equals(resourcesWrapper) || currentClass.equals(suggestionsAdapter)) {
-              // "benign" usages: don't trigger reflection mode just because
-              // the user has included appcompat
-              return;
-            }
-            foundGetIdentifier = true;
-            // TODO: Check previous instruction and see if we can find a literal
-            // String; if so, we can more accurately dispatch the resource here
-            // rather than having to check the whole string pool!
-          }
-          if (owner.equals("android/webkit/WebView") && name.startsWith("load")) {
-            foundWebContent = true;
-          }
-        }
-
-        @Override
-        public AnnotationVisitor visitAnnotationDefault() {
-          return new AnnotationUsageVisitor();
-        }
-
-        @Override
-        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
-          return new AnnotationUsageVisitor();
-        }
-
-        @Override
-        public AnnotationVisitor visitParameterAnnotation(
-            int parameter, String desc, boolean visible) {
-          return new AnnotationUsageVisitor();
-        }
-      };
-    }
-
-    @Override
-    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
-      return new AnnotationUsageVisitor();
-    }
-
-    @Override
-    public FieldVisitor visitField(
-        int access, String name, String desc, String signature, Object value) {
-      handleCodeConstant(value, "field");
-      return new FieldVisitor(Opcodes.ASM7) {
-        @Override
-        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
-          return new AnnotationUsageVisitor();
-        }
-      };
-    }
-
-    private class AnnotationUsageVisitor extends AnnotationVisitor {
-      public AnnotationUsageVisitor() {
-        super(Opcodes.ASM7);
-      }
-
-      @Override
-      public AnnotationVisitor visitAnnotation(String name, String desc) {
-        return new AnnotationUsageVisitor();
-      }
-
-      @Override
-      public AnnotationVisitor visitArray(String name) {
-        return new AnnotationUsageVisitor();
-      }
-
-      @Override
-      public void visit(String name, Object value) {
-        handleCodeConstant(value, "annotation");
-        super.visit(name, value);
-      }
-    }
-    /** Invoked when an ASM visitor encounters a constant: record corresponding reference */
-    private void handleCodeConstant(@Nullable Object cst, @NonNull String context) {
-      if (cst instanceof Integer) {
-        Integer value = (Integer) cst;
-        Resource resource = model.getResource(value);
-        if (ResourceUsageModel.markReachable(resource)) {
-          logger.fine(
-              String.format(
-                  "Marking %s reachable: referenced from %s in %s:%s",
-                  resource, context, jarFile, currentClass));
-        }
-      } else if (cst instanceof int[]) {
-        int[] values = (int[]) cst;
-        for (int value : values) {
-          Resource resource = model.getResource(value);
-          if (ResourceUsageModel.markReachable(resource)) {
-            logger.fine(
-                String.format(
-                    "Marking %s reachable: referenced from %s in %s:%s",
-                    resource, context, jarFile, currentClass));
-          }
-        }
-      } else if (cst instanceof String) {
-        String string = (String) cst;
-        referencedString(string);
-      }
-    }
-  }
-
-  protected class ResourceShrinkerUsageModel extends ResourceUsageModel {
-    public File file;
-
-    private ResourceShrinkerUsageModel() throws DOMException, ParserConfigurationException {
-      Attr attr =
-          DocumentBuilderFactory.newInstance()
-              .newDocumentBuilder()
-              .newDocument()
-              .createAttributeNS(SdkConstants.TOOLS_URI, SdkConstants.ATTR_SHRINK_MODE);
-      attr.setValue(SdkConstants.VALUE_STRICT);
-      super.recordToolsAttributes(attr);
-    }
-
-    @NonNull
-    @Override
-    protected List<Resource> findRoots(@NonNull List<Resource> resources) {
-      List<Resource> roots = super.findRoots(resources);
-      logger.fine("The root reachable resources are:\n  " + Joiner.on(",\n  ").join(roots) + "\n");
-      return roots;
-    }
-
-    @Override
-    protected Resource declareResource(ResourceType type, String name, Node node) {
-      Resource resource = super.declareResource(type, name, node);
-      resource.addLocation(file);
-      return resource;
-    }
-
-    @Override
-    protected void referencedString(@NonNull String string) {
-      ResourceUsageAnalyzer.this.referencedString(string);
-      foundWebContent = true;
-    }
-
-    @Override
-    public Resource getResource(Element element) {
-      if (isPublic(element)) {
-        ResourceType type = getTypeFromPublic(element);
-        if (type != null) {
-          String name = getFieldName(element);
-          Resource resource = getResource(type, name);
-          return resource;
-        }
-        return null;
-      } else {
-        return super.getResource(element);
-      }
-    }
-
-    public boolean isPublic(Element element) {
-      return element.getTagName().equals(ResourceType.PUBLIC.getName());
-    }
-
-    public ResourceType getTypeFromPublic(Element element) {
-      String typeName = element.getAttribute(ATTR_TYPE);
-      if (!typeName.isEmpty()) {
-        return ResourceType.getEnum(typeName);
-      }
-      return null;
-    }
-
-    @Nullable
-    public Resource getResourceFromUrl(@NonNull String possibleUrlReference) {
-      ResourceUrl url = ResourceUrl.parse(possibleUrlReference);
-      if (url != null && !url.framework) {
-        return addResource(url.type, LintUtils.getFieldName(url.name), null);
-      }
-      return null;
-    }
-
-    /**
-     * Records resource declarations and usages within an XML resource file
-     *
-     * @param folderType the type of resource file
-     * @param node the root node to start the recursive search from
-     * @param from a referencing context, if any.
-     */
-    // Override from parent ResourceUsageModel to fix <style> analysis bugs.
-    // TODO(apell): remove this override once the packaged version of ResourceUsageModel includes
-    // these fixes. See inline comments for location of fixes.
-    @Override
-    public void recordResourceReferences(
-        @NonNull ResourceFolderType folderType, @NonNull Node node, @Nullable Resource from) {
-      short nodeType = node.getNodeType();
-      if (nodeType == Node.ELEMENT_NODE) {
-        Element element = (Element) node;
-        if (from != null) {
-          NamedNodeMap attributes = element.getAttributes();
-          for (int i = 0, n = attributes.getLength(); i < n; i++) {
-            Attr attr = (Attr) attributes.item(i);
-
-            // Ignore tools: namespace attributes, unless it's
-            // a keep attribute
-            if (TOOLS_URI.equals(attr.getNamespaceURI())) {
-              recordToolsAttributes(attr);
-              // Skip all other tools: attributes
-              continue;
-            }
-
-            String value = attr.getValue();
-            if (!(value.startsWith(PREFIX_RESOURCE_REF) || value.startsWith(PREFIX_THEME_REF))) {
-              continue;
-            }
-            ResourceUrl url = ResourceUrl.parse(value);
-            if (url != null && !url.framework) {
-              Resource resource;
-              if (url.create) {
-                resource = declareResource(url.type, url.name, attr);
-              } else {
-                resource = addResource(url.type, url.name, null);
-                from.addReference(resource);
-              }
-            } else if (value.startsWith("@{")) {
-              // Data binding expression: there could be multiple references here
-              int length = value.length();
-              int index = 2; // skip @{
-              while (true) {
-                index = value.indexOf('@', index);
-                if (index == -1) {
-                  break;
-                }
-                // Find end of (potential) resource URL: first non resource URL character
-                int end = index + 1;
-                while (end < length) {
-                  char c = value.charAt(end);
-                  if (!(Character.isJavaIdentifierPart(c)
-                      || c == '_'
-                      || c == '.'
-                      || c == '/'
-                      || c == '+')) {
-                    break;
-                  }
-                  end++;
-                }
-                url = ResourceUrl.parse(value.substring(index, end));
-                if (url != null && !url.framework) {
-                  Resource resource;
-                  if (url.create) {
-                    resource = declareResource(url.type, url.name, attr);
-                  } else {
-                    resource = addResource(url.type, url.name, null);
-                  }
-                  from.addReference(resource);
-                }
-
-                index = end;
-              }
-            }
-          }
-
-          // Android Wear. We *could* limit ourselves to only doing this in files
-          // referenced from a manifest meta-data element, e.g.
-          // <meta-data android:name="com.google.android.wearable.beta.app"
-          //    android:resource="@xml/wearable_app_desc"/>
-          // but given that that property has "beta" in the name, it seems likely
-          // to change and therefore hardcoding it for that key risks breakage
-          // in the future.
-          if ("rawPathResId".equals(element.getTagName())) {
-            StringBuilder sb = new StringBuilder();
-            NodeList children = node.getChildNodes();
-            for (int i = 0, n = children.getLength(); i < n; i++) {
-              Node child = children.item(i);
-              if (child.getNodeType() == Element.TEXT_NODE
-                  || child.getNodeType() == Element.CDATA_SECTION_NODE) {
-                sb.append(child.getNodeValue());
-              }
-            }
-            if (sb.length() > 0) {
-              Resource resource = getResource(ResourceType.RAW, sb.toString().trim());
-              from.addReference(resource);
-            }
-          }
-        } else {
-          // Look for keep attributes everywhere else since they don't require a source
-          recordToolsAttributes(element.getAttributeNodeNS(TOOLS_URI, ATTR_KEEP));
-          recordToolsAttributes(element.getAttributeNodeNS(TOOLS_URI, ATTR_DISCARD));
-          recordToolsAttributes(element.getAttributeNodeNS(TOOLS_URI, ATTR_SHRINK_MODE));
-        }
-
-        if (folderType == ResourceFolderType.VALUES) {
-
-          Resource definition = null;
-          ResourceType type = getResourceType(element);
-          if (type != null) {
-            String name = getFieldName(element);
-            if (type == ResourceType.PUBLIC) {
-              String typeName = element.getAttribute(ATTR_TYPE);
-              if (!typeName.isEmpty()) {
-                type = ResourceType.getEnum(typeName);
-                if (type != null) {
-                  definition = declareResource(type, name, element);
-                  definition.setPublic(true);
-                }
-              }
-            } else {
-              definition = declareResource(type, name, element);
-            }
-          }
-          if (definition != null) {
-            from = definition;
-          }
-
-          String tagName = element.getTagName();
-          if (TAG_STYLE.equals(tagName)) {
-            if (element.hasAttribute(ATTR_PARENT)) {
-              String parent = element.getAttribute(ATTR_PARENT);
-              // Fix (see method comment): don't treat empty parent tag the same as extending
-              // builtin theme.
-              // Fix (see method comment): don't mark styles with builtin parents as reachable.
-              if (!parent.isEmpty()
-                  && !parent.startsWith(ANDROID_STYLE_RESOURCE_PREFIX)
-                  && !parent.startsWith(PREFIX_ANDROID)) {
-                String parentStyle = parent;
-                if (!parentStyle.startsWith(STYLE_RESOURCE_PREFIX)) {
-                  // Fix (see method comment): allow parent references to start with 'style/'
-                  // as well as the more strict '@style/'.
-                  // TODO(apell): Remove handling of 'style/' references when no longer supported
-                  // by AAPT.
-                  if (parentStyle.startsWith(REFERENCE_STYLE)) {
-                    parentStyle = "@" + parentStyle;
-                  } else {
-                    parentStyle = STYLE_RESOURCE_PREFIX + parentStyle;
-                  }
-                }
-                Resource ps = getResourceFromUrl(LintUtils.getFieldName(parentStyle));
-                if (definition != null) {
-                  // Fix (see method comment): don't create parent to child reference.
-                  definition.addReference(ps);
-                }
-              }
-            } else {
-              // Implicit parent styles by name
-              String name = getFieldName(element);
-              while (true) {
-                int index = name.lastIndexOf('_');
-                if (index != -1) {
-                  name = name.substring(0, index);
-                  Resource ps =
-                      getResourceFromUrl(STYLE_RESOURCE_PREFIX + LintUtils.getFieldName(name));
-                  if (definition != null) {
-                    // Fix (see method comment): don't create parent to child reference.
-                    definition.addReference(ps);
-                  }
-                } else {
-                  break;
-                }
-              }
-            }
-          }
-
-          if (TAG_ITEM.equals(tagName)) {
-            // In style? If so the name: attribute can be a reference
-            if (element.getParentNode() != null
-                && element.getParentNode().getNodeName().equals(TAG_STYLE)) {
-              String name = element.getAttributeNS(ANDROID_URI, ATTR_NAME);
-              if (!name.isEmpty() && !name.startsWith("android:")) {
-                Resource resource = getResource(ResourceType.ATTR, name);
-                if (definition == null) {
-                  Element style = (Element) element.getParentNode();
-                  definition = getResource(style);
-                  if (definition != null) {
-                    from = definition;
-                    definition.addReference(resource);
-                  }
-                }
-              }
-            }
-          }
-        }
-      } else if (nodeType == Node.TEXT_NODE || nodeType == Node.CDATA_SECTION_NODE) {
-        String text = node.getNodeValue().trim();
-        // Why are we calling getFieldName here? That doesn't make sense! for styles I guess
-        Resource textResource = getResourceFromUrl(LintUtils.getFieldName(text));
-        if (from != null) {
-          from.addReference(textResource);
-        }
-      }
-
-      NodeList children = node.getChildNodes();
-      for (int i = 0, n = children.getLength(); i < n; i++) {
-        Node child = children.item(i);
-        recordResourceReferences(folderType, child, from);
-      }
-    }
-  }
-}
diff --git a/third_party/java/jcommander/BUILD b/third_party/java/jcommander/BUILD
index ec51c68..f42a34e 100644
--- a/third_party/java/jcommander/BUILD
+++ b/third_party/java/jcommander/BUILD
@@ -1,12 +1,10 @@
-load("@rules_java//java:defs.bzl", "java_import")
-
 package(default_visibility = ["//visibility:public"])
 
 licenses(["notice"])
 
-java_import(
+alias(
     name = "jcommander",
-    jars = ["jcommander-1.48.jar"],
+    actual = "@maven//:com_beust_jcommander",
 )
 
 filegroup(
diff --git a/third_party/java/jcommander/jcommander-1.48.jar b/third_party/java/jcommander/jcommander-1.48.jar
deleted file mode 100644
index ad0a12c..0000000
--- a/third_party/java/jcommander/jcommander-1.48.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-api-2.3.0-sources.jar b/third_party/jaxb/2.3.0/jaxb-api-2.3.0-sources.jar
deleted file mode 100644
index ea96252..0000000
--- a/third_party/jaxb/2.3.0/jaxb-api-2.3.0-sources.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-api-2.3.0.jar b/third_party/jaxb/2.3.0/jaxb-api-2.3.0.jar
deleted file mode 100644
index 0817c08..0000000
--- a/third_party/jaxb/2.3.0/jaxb-api-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-core-2.3.0-sources.jar b/third_party/jaxb/2.3.0/jaxb-core-2.3.0-sources.jar
deleted file mode 100644
index ab38b33..0000000
--- a/third_party/jaxb/2.3.0/jaxb-core-2.3.0-sources.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-core-2.3.0.jar b/third_party/jaxb/2.3.0/jaxb-core-2.3.0.jar
deleted file mode 100644
index 864ba31..0000000
--- a/third_party/jaxb/2.3.0/jaxb-core-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-impl-2.3.0-sources.jar b/third_party/jaxb/2.3.0/jaxb-impl-2.3.0-sources.jar
deleted file mode 100644
index 3dcbb19..0000000
--- a/third_party/jaxb/2.3.0/jaxb-impl-2.3.0-sources.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/2.3.0/jaxb-impl-2.3.0.jar b/third_party/jaxb/2.3.0/jaxb-impl-2.3.0.jar
deleted file mode 100644
index 02f50ab..0000000
--- a/third_party/jaxb/2.3.0/jaxb-impl-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/BUILD b/third_party/jaxb/BUILD
deleted file mode 100644
index 8806b6d..0000000
--- a/third_party/jaxb/BUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-load("//tools/distributions:distribution_rules.bzl", "distrib_java_import")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["reciprocal"])  #  CDDL License
-
-license(
-    name = "license",
-    package_name = "jaxb",
-    license_kinds = [
-        "@rules_license//licenses/spdx:CDDL-1.1",
-    ],
-    license_text = "LICENSE.txt",
-    package_version = "2.3.1",
-)
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-distrib_java_import(
-    name = "jaxb",
-    enable_distributions = ["debian"],
-    jars = ["jaxb-api-2.3.1-patched.jar"],
-    srcjar = "jaxb-api-2.3.1-sources.jar",
-)
-
-# Android databinding processing requires api, core, and impl, however
-# jaxb-core-2.3.1.jar is missing on maven...
-# https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core/2.3.1
-# does not actually have any jars. So, use 2.3.0 instead, which works.
-java_library(
-    name = "jaxb-2.3.0",
-    visibility = ["//third_party/java/android_databinding/v3_4_0:__pkg__"],
-    exports = [
-        ":jaxb-api-2.3.0",
-        ":jaxb-core-2.3.0",
-        ":jaxb-impl-2.3.0",
-        "//third_party:javax_activation",
-    ],
-)
-
-java_import(
-    name = "jaxb-api-2.3.0",
-    jars = ["2.3.0/jaxb-api-2.3.0.jar"],
-    srcjar = "2.3.0/jaxb-api-2.3.0-sources.jar",
-    visibility = ["//visibility:private"],
-)
-
-java_import(
-    name = "jaxb-core-2.3.0",
-    jars = ["2.3.0/jaxb-core-2.3.0.jar"],
-    srcjar = "2.3.0/jaxb-core-2.3.0-sources.jar",
-    visibility = ["//visibility:private"],
-)
-
-java_import(
-    name = "jaxb-impl-2.3.0",
-    jars = ["2.3.0/jaxb-impl-2.3.0.jar"],
-    srcjar = "2.3.0/jaxb-impl-2.3.0-sources.jar",
-    visibility = ["//visibility:private"],
-)
diff --git a/third_party/jaxb/LICENSE.txt b/third_party/jaxb/LICENSE.txt
deleted file mode 100644
index 833a843..0000000
--- a/third_party/jaxb/LICENSE.txt
+++ /dev/null
@@ -1,274 +0,0 @@
-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1
-
-1. Definitions.
-
-     1.1. "Contributor" means each individual or entity that creates or contributes to the creation of Modifications.
-
-     1.2. "Contributor Version" means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-     1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-     1.4. "Executable" means the Covered Software in any form other than Source Code.
-
-     1.5. "Initial Developer" means the individual or entity that first makes Original Software available under this License.
-
-     1.6. "Larger Work" means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-     1.7. "License" means this document.
-
-     1.8. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-     1.9. "Modifications" means the Source Code and Executable form of any of the following:
-
-     A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-     B. Any new file that contains any part of the Original Software or previous Modification; or
-
-     C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-     1.10. "Original Software" means the Source Code and Executable form of computer software code that is originally released under this License.
-
-     1.11. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-     1.12. "Source Code" means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-     1.13. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-
-2. License Grants.
-
-     2.1. The Initial Developer Grant.
-
-     Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-     (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-     (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-     (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-     (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-     2.2. Contributor Grant.
-
-     Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-     (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-     (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-     (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-
-     (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-3. Distribution Obligations.
-
-     3.1. Availability of Source Code.
-
-     Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-
-     3.2. Modifications.
-
-     The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-     3.3. Required Notices.
-
-     You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-     3.4. Application of Additional Terms.
-
-     You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-     3.5. Distribution of Executable Versions.
-
-     You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-     3.6. Larger Works.
-
-     You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-4. Versions of the License.
-
-     4.1. New Versions.
-
-     Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-     4.2. Effect of New Versions.
-
-     You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-
-     4.3. Modified Versions.
-
-     When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-5. DISCLAIMER OF WARRANTY.
-
-     COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-6. TERMINATION.
-
-     6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-     6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as "Participant") alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-
-     6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
-
-     6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-7. LIMITATION OF LIABILITY.
-
-     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-8. U.S. GOVERNMENT END USERS.
-
-     The Covered Software is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that term is defined at 48 C.F.R. ? 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-9. MISCELLANEOUS.
-
-     This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-10. RESPONSIBILITY FOR CLAIMS.
-
-     As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-----------
-NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-
-
-
-
-The GNU General Public License (GPL) Version 2, June 1991
-
-
-Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
-
-Preamble
-
-The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
-
-When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
-
-To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
-
-For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
-
-We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
-
-Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
-
-Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
-
-The precise terms and conditions for copying, distribution and modification follow.
-
-
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
-
-1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
-
-   a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
-
-   b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
-
-   c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
-
-3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
-
-   a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
-
-   b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
-
-   c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
-
-If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
-
-4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
-
-5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
-
-6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
-
-7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
-
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
-
-8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
-
-9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
-
-10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
-
-NO WARRANTY
-
-11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-END OF TERMS AND CONDITIONS
-
-
-How to Apply These Terms to Your New Programs
-
-If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
-
-To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
-
-   One line to give the program's name and a brief idea of what it does.
-
-   Copyright (C)
-
-   This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
-
-   Gnomovision version 69, Copyright (C) year name of author
-   Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
-
-   Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-   signature of Ty Coon, 1 April 1989
-   Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
-
-
-"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
-
-Certain source files distributed by Oracle are subject to the following clarification and special exception to the GPL Version 2, but only where Oracle has expressly included in the particular source file's header the words "Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the License file that accompanied this code."
-
-Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination.
-
-As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module.  An independent module is a module which is not derived from or based on this library.  If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so.  If you do not wish to do so, delete this exception statement from your version.
diff --git a/third_party/jaxb/jaxb-api-2.3.1-patched.jar b/third_party/jaxb/jaxb-api-2.3.1-patched.jar
deleted file mode 100644
index 85deecc..0000000
--- a/third_party/jaxb/jaxb-api-2.3.1-patched.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/jaxb-api-2.3.1-sources.jar b/third_party/jaxb/jaxb-api-2.3.1-sources.jar
deleted file mode 100644
index 91e3a9d..0000000
--- a/third_party/jaxb/jaxb-api-2.3.1-sources.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/jaxb-api-2.3.1.jar b/third_party/jaxb/jaxb-api-2.3.1.jar
deleted file mode 100644
index 4565865..0000000
--- a/third_party/jaxb/jaxb-api-2.3.1.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jaxb/remove-java.desktop.patch b/third_party/jaxb/remove-java.desktop.patch
deleted file mode 100644
index 7a6b9a4..0000000
--- a/third_party/jaxb/remove-java.desktop.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -ur srcs/javax/xml/bind/JAXB.java srcs-patched/javax/xml/bind/JAXB.java
---- srcs/javax/xml/bind/JAXB.java	2018-09-12 06:26:24.000000000 +0200
-+++ srcs-patched/javax/xml/bind/JAXB.java	2019-04-16 17:17:25.118768524 +0200
-@@ -46,7 +46,6 @@
- import javax.xml.transform.Source;
- import javax.xml.transform.stream.StreamResult;
- import javax.xml.transform.stream.StreamSource;
--import java.beans.Introspector;
- import java.io.File;
- import java.io.IOException;
- import java.io.InputStream;
-@@ -593,7 +592,30 @@
-     }
- 
-     private static String inferName(Class clazz) {
--        return Introspector.decapitalize(clazz.getSimpleName());
-+      String name = clazz.getSimpleName();
-+      try {
-+        if (!Character.isUpperCase(name.charAt(0))) {
-+          return name;
-+        } else {
-+          try {
-+            if(Character.isUpperCase(name.charAt(1))) {
-+              return name;
-+            } else {
-+              char[] c = name.toCharArray();
-+              c[0] = Character.toLowerCase(c[0]);
-+              return new String(c);
-+            }
-+          } catch(StringIndexOutOfBoundsException E) {
-+            char[] c = new char[1];
-+            c[0] = Character.toLowerCase(name.charAt(0));
-+            return new String(c);
-+          }
-+        }
-+      } catch(StringIndexOutOfBoundsException E) {
-+        return name;
-+      } catch(NullPointerException E) {
-+        return null;
-+      }
-     }
- 
-     /**
-diff -ur srcs/module-info.java srcs-patched/module-info.java
---- srcs/module-info.java	2018-09-12 06:26:24.000000000 +0200
-+++ srcs-patched/module-info.java	2019-04-16 17:17:16.038792433 +0200
-@@ -42,7 +42,6 @@
-     requires transitive java.activation;
-     requires transitive java.xml;
-     requires java.logging;
--    requires java.desktop;
- 
-     exports javax.xml.bind;
-     exports javax.xml.bind.annotation;
diff --git a/third_party/jaxb/update.sh b/third_party/jaxb/update.sh
deleted file mode 100755
index b6f94cb..0000000
--- a/third_party/jaxb/update.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-set -euxo pipefail
-
-mkdir srcs
-cd srcs
-jar xvf ../jaxb-api-2.3.1-sources.jar
-patch -p1 < ../remove-java.desktop.patch
-rm -rf META-INF
-find . -type f -name \*.java -print0 | xargs -0 javac
-find . -type f -name \*.class -print0 | xargs -0 jar -cvf ../jaxb-api-2.3.1-patched.jar
diff --git a/third_party/jetbrains_annotations/BUILD b/third_party/jetbrains_annotations/BUILD
deleted file mode 100644
index 6b04b31..0000000
--- a/third_party/jetbrains_annotations/BUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["notice"])  # Apache License 2.0
-
-license(
-    name = "license",
-    package_name = "jetbrains_annotations/13.0",
-    license_kinds = [
-        "@rules_license//licenses/spdx:Apache-2.0",
-    ],
-    license_text = "LICENSE",
-)
-
-exports_files(["LICENSE"])
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "jetbrains_annotations",
-    jars = glob(["*.jar"]),
-)
diff --git a/third_party/jetbrains_annotations/LICENSE b/third_party/jetbrains_annotations/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/third_party/jetbrains_annotations/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/third_party/jetbrains_annotations/annotations-13.0.jar b/third_party/jetbrains_annotations/annotations-13.0.jar
deleted file mode 100644
index fb794be..0000000
--- a/third_party/jetbrains_annotations/annotations-13.0.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jetifier/BUILD b/third_party/jetifier/BUILD
deleted file mode 100644
index fd1f436..0000000
--- a/third_party/jetifier/BUILD
+++ /dev/null
@@ -1,18 +0,0 @@
-package(default_visibility = ["//visibility:public"])
-
-licenses(["unencumbered"])  # google owned
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "jetifier",
-    jars = glob(["*.jar"]),
-    deps = [
-        "//third_party:gson",
-        "//third_party/jetbrains_annotations",
-        "//third_party/kotlin_stdlib",
-    ],
-)
diff --git a/third_party/jetifier/jetifier-core-1.0.0-beta04.jar b/third_party/jetifier/jetifier-core-1.0.0-beta04.jar
deleted file mode 100644
index 575511f..0000000
--- a/third_party/jetifier/jetifier-core-1.0.0-beta04.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/jsr330_inject/javax.inject.jar b/third_party/jsr330_inject/javax.inject.jar
deleted file mode 100644
index b2a9d0b..0000000
--- a/third_party/jsr330_inject/javax.inject.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/juniversalchardet/BUILD b/third_party/juniversalchardet/BUILD
deleted file mode 100644
index 53f7901..0000000
--- a/third_party/juniversalchardet/BUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["reciprocal"])  # MPL 1.1
-
-license(
-    name = "license",
-    package_name = "juniversalchardet",
-    license_kinds = [
-        "@rules_license//licenses/spdx:MPL-1.1",
-    ],
-    license_text = "LICENSE",
-    package_version = "1.0.3",
-)
-
-exports_files(["LICENSE"])
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "juniversalchardet",
-    jars = glob(["*.jar"]),
-)
diff --git a/third_party/juniversalchardet/LICENSE b/third_party/juniversalchardet/LICENSE
deleted file mode 100644
index 5669081..0000000
--- a/third_party/juniversalchardet/LICENSE
+++ /dev/null
@@ -1,469 +0,0 @@
-                          MOZILLA PUBLIC LICENSE
-                                Version 1.1
-
-                              ---------------
-
-1. Definitions.
-
-     1.0.1. "Commercial Use" means distribution or otherwise making the
-     Covered Code available to a third party.
-
-     1.1. "Contributor" means each entity that creates or contributes to
-     the creation of Modifications.
-
-     1.2. "Contributor Version" means the combination of the Original
-     Code, prior Modifications used by a Contributor, and the Modifications
-     made by that particular Contributor.
-
-     1.3. "Covered Code" means the Original Code or Modifications or the
-     combination of the Original Code and Modifications, in each case
-     including portions thereof.
-
-     1.4. "Electronic Distribution Mechanism" means a mechanism generally
-     accepted in the software development community for the electronic
-     transfer of data.
-
-     1.5. "Executable" means Covered Code in any form other than Source
-     Code.
-
-     1.6. "Initial Developer" means the individual or entity identified
-     as the Initial Developer in the Source Code notice required by Exhibit
-     A.
-
-     1.7. "Larger Work" means a work which combines Covered Code or
-     portions thereof with code not governed by the terms of this License.
-
-     1.8. "License" means this document.
-
-     1.8.1. "Licensable" means having the right to grant, to the maximum
-     extent possible, whether at the time of the initial grant or
-     subsequently acquired, any and all of the rights conveyed herein.
-
-     1.9. "Modifications" means any addition to or deletion from the
-     substance or structure of either the Original Code or any previous
-     Modifications. When Covered Code is released as a series of files, a
-     Modification is:
-          A. Any addition to or deletion from the contents of a file
-          containing Original Code or previous Modifications.
-
-          B. Any new file that contains any part of the Original Code or
-          previous Modifications.
-
-     1.10. "Original Code" means Source Code of computer software code
-     which is described in the Source Code notice required by Exhibit A as
-     Original Code, and which, at the time of its release under this
-     License is not already Covered Code governed by this License.
-
-     1.10.1. "Patent Claims" means any patent claim(s), now owned or
-     hereafter acquired, including without limitation,  method, process,
-     and apparatus claims, in any patent Licensable by grantor.
-
-     1.11. "Source Code" means the preferred form of the Covered Code for
-     making modifications to it, including all modules it contains, plus
-     any associated interface definition files, scripts used to control
-     compilation and installation of an Executable, or source code
-     differential comparisons against either the Original Code or another
-     well known, available Covered Code of the Contributor's choice. The
-     Source Code can be in a compressed or archival form, provided the
-     appropriate decompression or de-archiving software is widely available
-     for no charge.
-
-     1.12. "You" (or "Your")  means an individual or a legal entity
-     exercising rights under, and complying with all of the terms of, this
-     License or a future version of this License issued under Section 6.1.
-     For legal entities, "You" includes any entity which controls, is
-     controlled by, or is under common control with You. For purposes of
-     this definition, "control" means (a) the power, direct or indirect,
-     to cause the direction or management of such entity, whether by
-     contract or otherwise, or (b) ownership of more than fifty percent
-     (50%) of the outstanding shares or beneficial ownership of such
-     entity.
-
-2. Source Code License.
-
-     2.1. The Initial Developer Grant.
-     The Initial Developer hereby grants You a world-wide, royalty-free,
-     non-exclusive license, subject to third party intellectual property
-     claims:
-          (a)  under intellectual property rights (other than patent or
-          trademark) Licensable by Initial Developer to use, reproduce,
-          modify, display, perform, sublicense and distribute the Original
-          Code (or portions thereof) with or without Modifications, and/or
-          as part of a Larger Work; and
-
-          (b) under Patents Claims infringed by the making, using or
-          selling of Original Code, to make, have made, use, practice,
-          sell, and offer for sale, and/or otherwise dispose of the
-          Original Code (or portions thereof).
-
-          (c) the licenses granted in this Section 2.1(a) and (b) are
-          effective on the date Initial Developer first distributes
-          Original Code under the terms of this License.
-
-          (d) Notwithstanding Section 2.1(b) above, no patent license is
-          granted: 1) for code that You delete from the Original Code; 2)
-          separate from the Original Code;  or 3) for infringements caused
-          by: i) the modification of the Original Code or ii) the
-          combination of the Original Code with other software or devices.
-
-     2.2. Contributor Grant.
-     Subject to third party intellectual property claims, each Contributor
-     hereby grants You a world-wide, royalty-free, non-exclusive license
-
-          (a)  under intellectual property rights (other than patent or
-          trademark) Licensable by Contributor, to use, reproduce, modify,
-          display, perform, sublicense and distribute the Modifications
-          created by such Contributor (or portions thereof) either on an
-          unmodified basis, with other Modifications, as Covered Code
-          and/or as part of a Larger Work; and
-
-          (b) under Patent Claims infringed by the making, using, or
-          selling of  Modifications made by that Contributor either alone
-          and/or in combination with its Contributor Version (or portions
-          of such combination), to make, use, sell, offer for sale, have
-          made, and/or otherwise dispose of: 1) Modifications made by that
-          Contributor (or portions thereof); and 2) the combination of
-          Modifications made by that Contributor with its Contributor
-          Version (or portions of such combination).
-
-          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
-          effective on the date Contributor first makes Commercial Use of
-          the Covered Code.
-
-          (d)    Notwithstanding Section 2.2(b) above, no patent license is
-          granted: 1) for any code that Contributor has deleted from the
-          Contributor Version; 2)  separate from the Contributor Version;
-          3)  for infringements caused by: i) third party modifications of
-          Contributor Version or ii)  the combination of Modifications made
-          by that Contributor with other software  (except as part of the
-          Contributor Version) or other devices; or 4) under Patent Claims
-          infringed by Covered Code in the absence of Modifications made by
-          that Contributor.
-
-3. Distribution Obligations.
-
-     3.1. Application of License.
-     The Modifications which You create or to which You contribute are
-     governed by the terms of this License, including without limitation
-     Section 2.2. The Source Code version of Covered Code may be
-     distributed only under the terms of this License or a future version
-     of this License released under Section 6.1, and You must include a
-     copy of this License with every copy of the Source Code You
-     distribute. You may not offer or impose any terms on any Source Code
-     version that alters or restricts the applicable version of this
-     License or the recipients' rights hereunder. However, You may include
-     an additional document offering the additional rights described in
-     Section 3.5.
-
-     3.2. Availability of Source Code.
-     Any Modification which You create or to which You contribute must be
-     made available in Source Code form under the terms of this License
-     either on the same media as an Executable version or via an accepted
-     Electronic Distribution Mechanism to anyone to whom you made an
-     Executable version available; and if made available via Electronic
-     Distribution Mechanism, must remain available for at least twelve (12)
-     months after the date it initially became available, or at least six
-     (6) months after a subsequent version of that particular Modification
-     has been made available to such recipients. You are responsible for
-     ensuring that the Source Code version remains available even if the
-     Electronic Distribution Mechanism is maintained by a third party.
-
-     3.3. Description of Modifications.
-     You must cause all Covered Code to which You contribute to contain a
-     file documenting the changes You made to create that Covered Code and
-     the date of any change. You must include a prominent statement that
-     the Modification is derived, directly or indirectly, from Original
-     Code provided by the Initial Developer and including the name of the
-     Initial Developer in (a) the Source Code, and (b) in any notice in an
-     Executable version or related documentation in which You describe the
-     origin or ownership of the Covered Code.
-
-     3.4. Intellectual Property Matters
-          (a) Third Party Claims.
-          If Contributor has knowledge that a license under a third party's
-          intellectual property rights is required to exercise the rights
-          granted by such Contributor under Sections 2.1 or 2.2,
-          Contributor must include a text file with the Source Code
-          distribution titled "LEGAL" which describes the claim and the
-          party making the claim in sufficient detail that a recipient will
-          know whom to contact. If Contributor obtains such knowledge after
-          the Modification is made available as described in Section 3.2,
-          Contributor shall promptly modify the LEGAL file in all copies
-          Contributor makes available thereafter and shall take other steps
-          (such as notifying appropriate mailing lists or newsgroups)
-          reasonably calculated to inform those who received the Covered
-          Code that new knowledge has been obtained.
-
-          (b) Contributor APIs.
-          If Contributor's Modifications include an application programming
-          interface and Contributor has knowledge of patent licenses which
-          are reasonably necessary to implement that API, Contributor must
-          also include this information in the LEGAL file.
-
-               (c)    Representations.
-          Contributor represents that, except as disclosed pursuant to
-          Section 3.4(a) above, Contributor believes that Contributor's
-          Modifications are Contributor's original creation(s) and/or
-          Contributor has sufficient rights to grant the rights conveyed by
-          this License.
-
-     3.5. Required Notices.
-     You must duplicate the notice in Exhibit A in each file of the Source
-     Code.  If it is not possible to put such notice in a particular Source
-     Code file due to its structure, then You must include such notice in a
-     location (such as a relevant directory) where a user would be likely
-     to look for such a notice.  If You created one or more Modification(s)
-     You may add your name as a Contributor to the notice described in
-     Exhibit A.  You must also duplicate this License in any documentation
-     for the Source Code where You describe recipients' rights or ownership
-     rights relating to Covered Code.  You may choose to offer, and to
-     charge a fee for, warranty, support, indemnity or liability
-     obligations to one or more recipients of Covered Code. However, You
-     may do so only on Your own behalf, and not on behalf of the Initial
-     Developer or any Contributor. You must make it absolutely clear than
-     any such warranty, support, indemnity or liability obligation is
-     offered by You alone, and You hereby agree to indemnify the Initial
-     Developer and every Contributor for any liability incurred by the
-     Initial Developer or such Contributor as a result of warranty,
-     support, indemnity or liability terms You offer.
-
-     3.6. Distribution of Executable Versions.
-     You may distribute Covered Code in Executable form only if the
-     requirements of Section 3.1-3.5 have been met for that Covered Code,
-     and if You include a notice stating that the Source Code version of
-     the Covered Code is available under the terms of this License,
-     including a description of how and where You have fulfilled the
-     obligations of Section 3.2. The notice must be conspicuously included
-     in any notice in an Executable version, related documentation or
-     collateral in which You describe recipients' rights relating to the
-     Covered Code. You may distribute the Executable version of Covered
-     Code or ownership rights under a license of Your choice, which may
-     contain terms different from this License, provided that You are in
-     compliance with the terms of this License and that the license for the
-     Executable version does not attempt to limit or alter the recipient's
-     rights in the Source Code version from the rights set forth in this
-     License. If You distribute the Executable version under a different
-     license You must make it absolutely clear that any terms which differ
-     from this License are offered by You alone, not by the Initial
-     Developer or any Contributor. You hereby agree to indemnify the
-     Initial Developer and every Contributor for any liability incurred by
-     the Initial Developer or such Contributor as a result of any such
-     terms You offer.
-
-     3.7. Larger Works.
-     You may create a Larger Work by combining Covered Code with other code
-     not governed by the terms of this License and distribute the Larger
-     Work as a single product. In such a case, You must make sure the
-     requirements of this License are fulfilled for the Covered Code.
-
-4. Inability to Comply Due to Statute or Regulation.
-
-     If it is impossible for You to comply with any of the terms of this
-     License with respect to some or all of the Covered Code due to
-     statute, judicial order, or regulation then You must: (a) comply with
-     the terms of this License to the maximum extent possible; and (b)
-     describe the limitations and the code they affect. Such description
-     must be included in the LEGAL file described in Section 3.4 and must
-     be included with all distributions of the Source Code. Except to the
-     extent prohibited by statute or regulation, such description must be
-     sufficiently detailed for a recipient of ordinary skill to be able to
-     understand it.
-
-5. Application of this License.
-
-     This License applies to code to which the Initial Developer has
-     attached the notice in Exhibit A and to related Covered Code.
-
-6. Versions of the License.
-
-     6.1. New Versions.
-     Netscape Communications Corporation ("Netscape") may publish revised
-     and/or new versions of the License from time to time. Each version
-     will be given a distinguishing version number.
-
-     6.2. Effect of New Versions.
-     Once Covered Code has been published under a particular version of the
-     License, You may always continue to use it under the terms of that
-     version. You may also choose to use such Covered Code under the terms
-     of any subsequent version of the License published by Netscape. No one
-     other than Netscape has the right to modify the terms applicable to
-     Covered Code created under this License.
-
-     6.3. Derivative Works.
-     If You create or use a modified version of this License (which you may
-     only do in order to apply it to code which is not already Covered Code
-     governed by this License), You must (a) rename Your license so that
-     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
-     "MPL", "NPL" or any confusingly similar phrase do not appear in your
-     license (except to note that your license differs from this License)
-     and (b) otherwise make it clear that Your version of the license
-     contains terms which differ from the Mozilla Public License and
-     Netscape Public License. (Filling in the name of the Initial
-     Developer, Original Code or Contributor in the notice described in
-     Exhibit A shall not of themselves be deemed to be modifications of
-     this License.)
-
-7. DISCLAIMER OF WARRANTY.
-
-     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
-     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
-     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
-     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
-     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
-     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
-     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
-     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
-     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
-     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-8. TERMINATION.
-
-     8.1.  This License and the rights granted hereunder will terminate
-     automatically if You fail to comply with terms herein and fail to cure
-     such breach within 30 days of becoming aware of the breach. All
-     sublicenses to the Covered Code which are properly granted shall
-     survive any termination of this License. Provisions which, by their
-     nature, must remain in effect beyond the termination of this License
-     shall survive.
-
-     8.2.  If You initiate litigation by asserting a patent infringement
-     claim (excluding declatory judgment actions) against Initial Developer
-     or a Contributor (the Initial Developer or Contributor against whom
-     You file such action is referred to as "Participant")  alleging that:
-
-     (a)  such Participant's Contributor Version directly or indirectly
-     infringes any patent, then any and all rights granted by such
-     Participant to You under Sections 2.1 and/or 2.2 of this License
-     shall, upon 60 days notice from Participant terminate prospectively,
-     unless if within 60 days after receipt of notice You either: (i)
-     agree in writing to pay Participant a mutually agreeable reasonable
-     royalty for Your past and future use of Modifications made by such
-     Participant, or (ii) withdraw Your litigation claim with respect to
-     the Contributor Version against such Participant.  If within 60 days
-     of notice, a reasonable royalty and payment arrangement are not
-     mutually agreed upon in writing by the parties or the litigation claim
-     is not withdrawn, the rights granted by Participant to You under
-     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
-     the 60 day notice period specified above.
-
-     (b)  any software, hardware, or device, other than such Participant's
-     Contributor Version, directly or indirectly infringes any patent, then
-     any rights granted to You by such Participant under Sections 2.1(b)
-     and 2.2(b) are revoked effective as of the date You first made, used,
-     sold, distributed, or had made, Modifications made by that
-     Participant.
-
-     8.3.  If You assert a patent infringement claim against Participant
-     alleging that such Participant's Contributor Version directly or
-     indirectly infringes any patent where such claim is resolved (such as
-     by license or settlement) prior to the initiation of patent
-     infringement litigation, then the reasonable value of the licenses
-     granted by such Participant under Sections 2.1 or 2.2 shall be taken
-     into account in determining the amount or value of any payment or
-     license.
-
-     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
-     all end user license agreements (excluding distributors and resellers)
-     which have been validly granted by You or any distributor hereunder
-     prior to termination shall survive termination.
-
-9. LIMITATION OF LIABILITY.
-
-     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
-     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
-     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
-     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
-     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
-     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
-     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
-     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
-     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
-     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
-     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
-     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
-     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
-     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-10. U.S. GOVERNMENT END USERS.
-
-     The Covered Code is a "commercial item," as that term is defined in
-     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
-     software" and "commercial computer software documentation," as such
-     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
-     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
-     all U.S. Government End Users acquire Covered Code with only those
-     rights set forth herein.
-
-11. MISCELLANEOUS.
-
-     This License represents the complete agreement concerning subject
-     matter hereof. If any provision of this License is held to be
-     unenforceable, such provision shall be reformed only to the extent
-     necessary to make it enforceable. This License shall be governed by
-     California law provisions (except to the extent applicable law, if
-     any, provides otherwise), excluding its conflict-of-law provisions.
-     With respect to disputes in which at least one party is a citizen of,
-     or an entity chartered or registered to do business in the United
-     States of America, any litigation relating to this License shall be
-     subject to the jurisdiction of the Federal Courts of the Northern
-     District of California, with venue lying in Santa Clara County,
-     California, with the losing party responsible for costs, including
-     without limitation, court costs and reasonable attorneys' fees and
-     expenses. The application of the United Nations Convention on
-     Contracts for the International Sale of Goods is expressly excluded.
-     Any law or regulation which provides that the language of a contract
-     shall be construed against the drafter shall not apply to this
-     License.
-
-12. RESPONSIBILITY FOR CLAIMS.
-
-     As between Initial Developer and the Contributors, each party is
-     responsible for claims and damages arising, directly or indirectly,
-     out of its utilization of rights under this License and You agree to
-     work with Initial Developer and Contributors to distribute such
-     responsibility on an equitable basis. Nothing herein is intended or
-     shall be deemed to constitute any admission of liability.
-
-13. MULTIPLE-LICENSED CODE.
-
-     Initial Developer may designate portions of the Covered Code as
-     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
-     Developer permits you to utilize portions of the Covered Code under
-     Your choice of the MPL or the alternative licenses, if any, specified
-     by the Initial Developer in the file described in Exhibit A.
-
-EXHIBIT A -Mozilla Public License.
-
-     ``The contents of this file are subject to the Mozilla Public License
-     Version 1.1 (the "License"); you may not use this file except in
-     compliance with the License. You may obtain a copy of the License at
-     https://www.mozilla.org/MPL/
-
-     Software distributed under the License is distributed on an "AS IS"
-     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-     License for the specific language governing rights and limitations
-     under the License.
-
-     The Original Code is ______________________________________.
-
-     The Initial Developer of the Original Code is ________________________.
-     Portions created by ______________________ are Copyright (C) ______
-     _______________________. All Rights Reserved.
-
-     Contributor(s): ______________________________________.
-
-     Alternatively, the contents of this file may be used under the terms
-     of the _____ license (the  "[___] License"), in which case the
-     provisions of [______] License are applicable instead of those
-     above.  If you wish to allow use of your version of this file only
-     under the terms of the [____] License and not to allow others to use
-     your version of this file under the MPL, indicate your decision by
-     deleting  the provisions above and replace  them with the notice and
-     other provisions required by the [___] License.  If you do not delete
-     the provisions above, a recipient may use your version of this file
-     under either the MPL or the [___] License."
-
-     [NOTE: The text of this Exhibit A may differ slightly from the text of
-     the notices in the Source Code files of the Original Code. You should
-     use the text of this Exhibit A rather than the text found in the
-     Original Code Source Code for Your Modifications.]
diff --git a/third_party/juniversalchardet/juniversalchardet-1.0.3.jar b/third_party/juniversalchardet/juniversalchardet-1.0.3.jar
deleted file mode 100644
index ef4d7af..0000000
--- a/third_party/juniversalchardet/juniversalchardet-1.0.3.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/kotlin_stdlib/BUILD b/third_party/kotlin_stdlib/BUILD
deleted file mode 100644
index 85e4674..0000000
--- a/third_party/kotlin_stdlib/BUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-load("@rules_license//rules:license.bzl", "license")
-
-package(
-    default_applicable_licenses = [":license"],
-    default_visibility = ["//visibility:public"],
-)
-
-licenses(["notice"])  # Apache License 2.0
-
-license(
-    name = "license",
-    package_name = "kotlin_stdlib",
-    license_kinds = [
-        "@rules_license//licenses/spdx:Apache-2.0",
-    ],
-    license_text = "LICENSE",
-    package_version = "1.3.21",
-)
-
-exports_files(["LICENSE"])
-
-filegroup(
-    name = "srcs",
-    srcs = glob(["**"]),
-)
-
-java_import(
-    name = "kotlin_stdlib",
-    jars = glob(["*.jar"]),
-)
diff --git a/third_party/kotlin_stdlib/LICENSE b/third_party/kotlin_stdlib/LICENSE
deleted file mode 100644
index 8dada3e..0000000
--- a/third_party/kotlin_stdlib/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "{}"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright {yyyy} {name of copyright owner}
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/third_party/kotlin_stdlib/kotlin-stdlib-1.3.21.jar b/third_party/kotlin_stdlib/kotlin-stdlib-1.3.21.jar
deleted file mode 100644
index b125ff4..0000000
--- a/third_party/kotlin_stdlib/kotlin-stdlib-1.3.21.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/kotlin_stdlib/kotlin-stdlib-common-1.3.21.jar b/third_party/kotlin_stdlib/kotlin-stdlib-common-1.3.21.jar
deleted file mode 100644
index 86e1173..0000000
--- a/third_party/kotlin_stdlib/kotlin-stdlib-common-1.3.21.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/kotlin_stdlib/kotlin-stdlib-jdk7-1.3.21.jar b/third_party/kotlin_stdlib/kotlin-stdlib-jdk7-1.3.21.jar
deleted file mode 100644
index 03e51d3..0000000
--- a/third_party/kotlin_stdlib/kotlin-stdlib-jdk7-1.3.21.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/kotlin_stdlib/kotlin-stdlib-jdk8-1.3.21.jar b/third_party/kotlin_stdlib/kotlin-stdlib-jdk8-1.3.21.jar
deleted file mode 100644
index 15f37bc..0000000
--- a/third_party/kotlin_stdlib/kotlin-stdlib-jdk8-1.3.21.jar
+++ /dev/null
Binary files differ