commit | 7dee79dab19652f1df094c44d72309f297684a27 | [log] [tgz] |
---|---|---|
author | Søren Gjesse <sgjesse@google.com> | Thu Mar 17 13:50:48 2022 +0100 |
committer | Søren Gjesse <sgjesse@google.com> | Thu Mar 17 13:50:48 2022 +0100 |
tree | ceac8a15b56d7e714b20fd24c595d8acb66db572 | |
parent | e169afdaa2a1fd935d2872d30cf644f24b431332 [diff] |
Add Dagger 2.41 with all dependencies Content of README.google: Dagger 2.41 and all dependencies -------------------------------- Name: Dagger Version: 2.41 Description: A fast dependency injector for Android and Java. Jar: dagger-2.41.jar (https://mvnrepository.com/artifact/com.google.dagger/dagger/2.41) Home page: https://github.com/google/dagger License: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) Name: Javax Inject Version: 1 Description: The javax.inject API Jar: javax.inject-1.jar (https://mvnrepository.com/artifact/javax.inject/javax.inject/1) Home page: http://code.google.com/p/atinject/ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Dagger Compiler Version: 2.41 Description: A fast dependency injector for Android and Java. Jar: dagger-compiler-2.41.jar (https://mvnrepository.com/artifact/com.google.dagger/dagger-compiler/2.41) Home page: https://github.com/google/dagger License: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) Name: FindBugs JSR305 Version: 3.0.2 Description: JSR305 Annotations for Findbugs Jar: jsr305-3.0.2.jar (https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305) Home page: - License: Apache 2.0 Name: Dagger Producers Version: 2.41 Description: A fast dependency injector for Android and Java. Jar: dagger-producers-2.41.jar (https://mvnrepository.com/artifact/com.google.dagger/dagger-producers/2.41) Home page: https://github.com/google/dagger License: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) Name: Dagger SPI Version: 2.41 Description: A fast dependency injector for Android and Java. Jar: dagger-spi-2.41.jar (https://mvnrepository.com/artifact/com.google.dagger/dagger-spi/2.41) Home page: https://github.com/google/dagger License: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) Name: Google Java Format Version: 1.5 Description: A Java source code formatter that follows Google Java Style. Jar: google-java-format-1.5.jar (https://mvnrepository.com/artifact/com.google.googlejavaformat/google-java-format/1.5) Home page: - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Guava InternalFutureFailureAccess and InternalFutures Version: 1.0.1 Description: Contains com.google.common.util.concurrent.internal.InternalFutureFailureAccess and InternalFutures. Most users will never need to use this artifact. Its classes is conceptually a part of Guava, but they're in this separate artifact so that Android libraries can use them without pulling in all of Guava (just as they can use ListenableFuture by depending on the listenablefuture artifact). Jar: failureaccess-1.0.1.jar (https://mvnrepository.com/artifact/com.google.guava/failureaccess/1.0.1) Home page: - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Guava: Google Core Libraries For Java Version: 31.0.1-jre Description: Guava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more. Jar: guava-31.0.1-jre.jar (https://mvnrepository.com/artifact/com.google.guava/guava/31.0.1-jre) Home page: https://github.com/google/guava License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: JavaPoet Version: 1.13.0 Description: Use beautiful Java code to generate beautiful Java code. Jar: javapoet-1.13.0.jar (https://mvnrepository.com/artifact/com.squareup/javapoet/1.13.0) Home page: http://github.com/square/javapoet/ License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Incap Version: 0.2 Description: Helper library for building incremental annotation processors Jar: incap-0.2.jar (https://mvnrepository.com/artifact/net.ltgt.gradle.incap/incap/0.2) Home page: https://github.com/tbroyer/gradle-incap-helper License: The Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) Name: Checker Qual Version: 2.5.5 Description: Checker Qual is the set of annotations (qualifiers) and supporting classes used by the Checker Framework to type check Java source code. Please see artifact: org.checkerframework:checker Jar: checker-compat-qual-2.5.5.jar (https://mvnrepository.com/artifact/org.checkerframework/checker-compat-qual/2.5.5) Home page: https://checkerframework.org/ License: GNU General Public License, version 2 (GPL2), with the classpath exception (http://www.gnu.org/software/classpath/license.html) License: The MIT License (http://opensource.org/licenses/MIT) Name: Checker Qual Version: 3.12.0 Description: checker-qual contains annotations (type qualifiers) that a programmer writes to specify Java code for type-checking by the Checker Framework. Jar: checker-qual-3.12.0.jar (https://mvnrepository.com/artifact/org.checkerframework/checker-qual/3.12.0) Home page: https://checkerframework.org/ License: The MIT License (http://opensource.org/licenses/MIT) Name: Kotlin Stdlib Version: 1.5.32 Description: Kotlin Standard Library for JVM Jar: Home page: https://kotlinlang.org/ License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: JetBrains Java Annotations Version: 13.0 Description: A set of annotations used for code inspection support and code documentation. Jar: annotations-13.0.jar (https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0) Home page: http://www.jetbrains.org/ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Kotlin Stdlib Common Version: 1.5.32 Description: Kotlin Common Standard Library Jar: kotlin-stdlib-common-1.5.32.jar (https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-common/1.5.32) Home page: https://kotlinlang.org/ License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Kotlin Stdlib Jdk8 Version: 1.5.32 Description: Kotlin Standard Library JDK 8 extension Jar: kotlin-stdlib-jdk8-1.5.32.jar () Home page: https://kotlinlang.org/ License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Kotlin Stdlib Jdk7 Version: 1.5.32 Description: Kotlin Standard Library JDK 7 extension Jar: kotlin-stdlib-jdk7-1.5.32.jar (https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.5.32) Home page: https://kotlinlang.org/ License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Kotlinx Metadata Jvm Version: 0.3.0 Description: Kotlin JVM metadata manipulation library Jar: kotlinx-metadata-jvm-0.3.0.jar () Home page: https://kotlinlang.org/ License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Symbol Processing API Version: 1.5.30-1.0.0 Description: Symbol processing for Kotlin Jar: symbol-processing-api-1.5.30-1.0.0.jar (https://mvnrepository.com/artifact/com.google.devtools.ksp/symbol-processing-api/1.5.30-1.0.0) Home page: https://goo.gle/ksp License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: Error Prone Shaded Javac Version: 9-dev-r4023-3 Description: A repackaged and shaded copy of javac Jar: javac-shaded-9-dev-r4023-3.jar (https://mvnrepository.com/artifact/com.google.errorprone/javac-shaded/9-dev-r4023-3) Home page: https://github.com/google/error-prone-javac License: GNU General Public License, version 2, with the Classpath Exception (http://openjdk.java.net/legal/gplv2+ce.html) Name: Error Prone Annotations Version: 2.7.1 Description: Error Prone Annotations Jar: error_prone_annotations-2.7.1.jar (https://mvnrepository.com/artifact/com.google.errorprone/error_prone_annotations/2.7.1) Home page: - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Name: J2ObjC Annotations Version: 1.3 Description: A set of annotations that provide additional information to the J2ObjC translator to modify the result of translation. Jar: j2objc-annotations-1.3.jar (https://mvnrepository.com/artifact/com.google.j2objc/j2objc-annotations/1.3) Home page: https://github.com/google/j2objc/ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) Change-Id: If06c7ee5a471fb604efb7c3efc486f36b31c74ee
The R8 repo contains two tools:
D8 is a replacement for the DX dexer and R8 is a replacement for the Proguard shrinking and minification tool.
The R8 project uses depot_tools
from the chromium project to manage dependencies. Install depot_tools
and add it to your path before proceeding.
The R8 project uses Java 8 language features and requires a Java 8 compiler and runtime system.
Typical steps to download and build:
$ git clone https://r8.googlesource.com/r8 $ cd r8 $ tools/gradle.py d8 r8
The tools/gradle.py
script will bootstrap using depot_tools to download a version of gradle to use for building on the first run. This will produce two jar files: build/libs/d8.jar
and build/libs/r8.jar
.
The D8 dexer has a simple command-line interface with only a few options.
The most important option is whether to build in debug or release mode. Debug is the default mode and includes debugging information in the resulting dex files. Debugging information contains information about local variables used when debugging dex code. This information is not useful when shipping final Android apps to users and therefore, final builds should use the --release
flag to remove this debugging information to produce smaller dex files.
Typical invocations of D8 to produce dex file(s) in the out directoy:
Debug mode build:
$ java -jar build/libs/d8.jar --output out input.jar
Release mode build:
$ java -jar build/libs/d8.jar --release --output out input.jar
The full set of D8 options can be obtained by running the command line tool with the --help
option.
R8 is a Proguard replacement for whole-program optimization, shrinking and minification. R8 uses the Proguard keep rule format for specifying the entry points for an application.
Typical invocations of R8 to produce optimized dex file(s) in the out directory:
$ java -jar build/libs/r8.jar --release --output out --pg-conf proguard.cfg input.jar
The full set of R8 options can be obtained by running the command line tool with the --help
option.
Typical steps to run tests:
$ tools/test.py --no_internal
The tools/test.py
script will use depot_tools to download a lot of tests and test dependencies on the first run. This includes prebuilt version of the art runtime on which to validate the produced dex code.
In order to contribute to D8/R8 you have to sign the Contributor License Agreement. If your contribution is owned by your employer you need the Corporate Contributor License Agreement.
Once the license agreement is in place, please send an email to r8-dev@googlegroups.com to be added as a contributor.
After being added as a contributer you can upload your patches using git cl
which is available in depot_tools
. Once you have a change that you are happy with you should make sure that it passes all tests and then upload the change to our code review tool using:
$ git cl upload
On your first upload you will be asked to acquire credentials. Follow the instructions given by git cl upload
.
On successful uploads a link to the code review is printed in the output of the upload command. In the code review tool you can assign reviewers and mark the change ready for review. At that point the code review tool will send emails to reviewers.
For questions, reach out to us at r8-dev@googlegroups.com.
For D8, find known issues in the D8 issue tracker or file a new D8 bug report.
For R8, find known issues in the R8 issue tracker or file a new R8 bug report.