Include libraries licenses in d8.jar and r8.jar

This change is:
- Excluding META-INF from libraries when packaging the jars.
- Adding a file LIBRARY-LICENSE listing license information of all
  libraries included in the jars.
- Adding a task checkLicenses checking that LIBRARY-LICENSE is aligned
  with the jar dependencies.
- Replace the LICENSE file included in jar by a consolidated version
  containing r8/LICENSE, r8/LIBRARY-LICENSE and every file found in
  library-licensing

From there, any addition or removal of dependency will need an update of
LIBRARY-LICENSE or r8.jar/d8.jar won't package. When updating
LIBRARY-LICENSE we'll need to check that the content of
library-licensing is still accurate, there is no check on this.

Bug: 65479022
Change-Id: I1746c574744bc3d8afc0d16d5687994bc14fd5ea
diff --git a/library-licensing/apache-commons-compress.txt b/library-licensing/apache-commons-compress.txt
new file mode 100644
index 0000000..c54926e
--- /dev/null
+++ b/library-licensing/apache-commons-compress.txt
@@ -0,0 +1,11 @@
+Apache Commons Compress
+Copyright 2002-2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The files in the package org.apache.commons.compress.archivers.sevenz
+were derived from the LZMA SDK, version 9.20 (C/ and CPP/7zip/),
+which has been placed in the public domain:
+
+"LZMA SDK is placed in the public domain." (http://www.7-zip.org/sdk.html)