Skip to content

Commit

Permalink
Update Dagger's XProcessing jars.
Browse files Browse the repository at this point in the history
The update pulls in a fix for #4533, which fixes the path separator for Windows when creating LazyClassKey proguard file.

Fixes #4533

RELNOTES=Fixes #4533: Fixes path separator for Windows when creating LazyClassKey proguard file.
PiperOrigin-RevId: 707914983
  • Loading branch information
bcorso authored and Dagger Team committed Dec 19, 2024
1 parent d60729d commit 3ec90e8
Show file tree
Hide file tree
Showing 24 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ javadoc_library(
"//java/dagger/producers:producers-srcs",
"//java/dagger/spi:spi-srcs",
],
android_api_level = 32,
android_api_level = 34,
# TODO(ronshapiro): figure out how to specify the version number for release builds
doctitle = "Dagger Dependency Injection API",
exclude_packages = [
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ attempt to delete the `build/` folder will also delete the bazel `BUILD` files.
[download](https://developer.android.com/studio#command-tools)
and unzip it first.
* Install the necessary components. For example, under Linux, run:
`$ANDROID_HOME/tools/bin/sdkmanager "platforms;android-32" "build-tools;32.0.0"`
`$ANDROID_HOME/tools/bin/sdkmanager "platforms;android-34" "build-tools;34.0.0"`
* If you skip this step, you will see an error similar to
`ERROR: missing input file '@androidsdk//:build-tools/32.0.0/aapt'`.
`ERROR: missing input file '@androidsdk//:build-tools/34.0.0/aapt'`.
* You may also need to run `bazel sync`.
* Run tests with `bazel test <target>`, or `bazel test //...` to run all
tests.
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ http_archive(

android_sdk_repository(
name = "androidsdk",
api_level = 32,
build_tools_version = "32.0.0",
api_level = 34,
build_tools_version = "34.0.0",
)

####################################################
Expand Down
4 changes: 2 additions & 2 deletions examples/bazel/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ load(

android_sdk_repository(
name = "androidsdk",
api_level = 32,
build_tools_version = "32.0.0",
api_level = 34,
build_tools_version = "34.0.0",
)

#############################
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ gen_maven_artifact(
"com.google.dagger:dagger",
"com.google.dagger:dagger-lint-aar",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_root_packages = [
"dagger.android",
],
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/android/support/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ gen_maven_artifact(
"com.google.dagger:dagger",
"com.google.dagger:dagger-android",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_root_packages = [
"dagger.android.support",
],
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/hilt/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ gen_maven_artifact(
"com.google.guava:guava",
"javax.annotation:javax.annotation-api",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_exclude_packages = [
"dagger.hilt.android.internal",
],
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/hilt/android/processor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ gen_maven_artifact(
"net.ltgt.gradle.incap:incap",
"org.jetbrains.kotlin:kotlin-stdlib",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_root_packages = [
# Java 11 javadocs requires non-empty root package so use ".internal" as the root package.
"dagger.hilt.processor.internal",
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/hilt/android/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ gen_maven_artifact(
"com.google.guava:guava",
"javax.annotation:javax.annotation-api",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_exclude_packages = [
"dagger.hilt.internal",
"dagger.hilt.android.internal",
Expand Down
2 changes: 1 addition & 1 deletion java/dagger/hilt/processor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ gen_maven_artifact(
"net.ltgt.gradle.incap:incap",
"org.jetbrains.kotlin:kotlin-stdlib",
],
javadoc_android_api_level = 32,
javadoc_android_api_level = 34,
javadoc_root_packages = [
# Java 11 javadocs requires non-empty root package so use ".internal" as the root package.
"dagger.hilt.processor.internal",
Expand Down
Binary file modified java/dagger/internal/codegen/xprocessing/xprocessing-testing.jar
Binary file not shown.
Binary file modified java/dagger/internal/codegen/xprocessing/xprocessing.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion javatests/dagger/android/processor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GenJavaTests(
"//third_party/java/guava/collect",
"//third_party/java/junit",
"//third_party/java/truth",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_activity_activity",
"@maven//:androidx_fragment_fragment",
"@maven//:androidx_lifecycle_lifecycle_common",
Expand Down
2 changes: 1 addition & 1 deletion javatests/dagger/hilt/android/processor/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compiler_test(
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android:android_entry_point",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
],
deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ compiler_test(
"//java/dagger/hilt/android/internal/modules",
"//java/dagger/hilt/testing:test_install_in",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand All @@ -50,7 +50,7 @@ compiler_test(
"//java/dagger/hilt/android:early_entry_point",
"//java/dagger/hilt/android/components",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ compiler_test(
srcs = ["ActivityGeneratorTest.java"],
compiler_deps = [
"//java/dagger/hilt/android:android_entry_point",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
resources = glob([
"goldens/ActivityGeneratorTest_*",
Expand All @@ -42,7 +42,7 @@ compiler_test(
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android:android_entry_point",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand All @@ -59,7 +59,7 @@ kt_compiler_test(
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android:android_entry_point",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ compiler_test(
"//java/dagger/hilt/android/testing:custom_test_application",
"//java/dagger/hilt/android/testing:hilt_android_test",
"//java/dagger/hilt/android:hilt_android_app",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kt_compiler_test(
srcs = ["ViewModelProcessorTest.kt"],
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"//java/dagger/hilt/android/lifecycle:hilt_view_model",
],
deps = [
Expand All @@ -44,7 +44,7 @@ kt_compiler_test(
"ViewModelValidationPluginTest.kt",
],
compiler_deps = [
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_lifecycle_lifecycle_viewmodel",
"@maven//:androidx_lifecycle_lifecycle_viewmodel_savedstate",
"//third_party/java/compile_testing",
Expand Down Expand Up @@ -76,7 +76,7 @@ kt_compiler_test(
"ViewModelValidationPluginWithAssistedInjectTest.kt",
],
compiler_deps = [
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_lifecycle_lifecycle_viewmodel",
"@maven//:androidx_lifecycle_lifecycle_viewmodel_savedstate",
"//third_party/java/compile_testing",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ compiler_test(
"//java/dagger/hilt:install_in",
"//java/dagger/hilt/android/testing:hilt_android_test",
"//java/dagger/hilt/android/components",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
],
deps = [
"//java/dagger/hilt/android/testing/compile",
Expand Down
2 changes: 1 addition & 1 deletion javatests/dagger/hilt/processor/internal/aliasof/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compiler_test(
size = "small",
srcs = ["AliasOfProcessorTest.java"],
compiler_deps = [
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"//third_party/java/jsr330_inject",
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android/components",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compiler_test(
srcs = ["GeneratesRootInputProcessorTest.java"],
compiler_deps = [
"//java/dagger/hilt:generates_root_input",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
],
deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compiler_test(
srcs = ["OriginatingElementProcessorTest.java"],
compiler_deps = [
"//java/dagger/hilt/codegen:originating_element",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
],
deps = [
Expand Down
8 changes: 4 additions & 4 deletions javatests/dagger/hilt/processor/internal/root/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ compiler_test(
":MyAppPreviousCompilation",
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
"@maven//:org_robolectric_robolectric",
"@maven//:androidx_test_ext_junit",
Expand Down Expand Up @@ -65,7 +65,7 @@ compiler_test(
":MyTestPreviousCompilation",
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
"@maven//:org_robolectric_robolectric",
"@maven//:androidx_test_ext_junit",
Expand All @@ -86,7 +86,7 @@ compiler_test(
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
"@maven//:org_robolectric_robolectric",
"@maven//:androidx_test_ext_junit",
Expand All @@ -106,7 +106,7 @@ compiler_test(
compiler_deps = [
"//java/dagger/hilt/android:hilt_android_app",
"//java/dagger/hilt/android/testing:hilt_android_test",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
"@maven//:org_robolectric_robolectric",
"@maven//:androidx_test_ext_junit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ compiler_test(
"//java/dagger/hilt/android/testing:hilt_android_test",
"//java/dagger/hilt/android/testing:uninstall_modules",
"//java/dagger/hilt/migration:disable_install_in_check",
"@androidsdk//:platforms/android-32/android.jar",
"@androidsdk//:platforms/android-34/android.jar",
"@maven//:androidx_annotation_annotation",
],
deps = [
Expand Down

0 comments on commit 3ec90e8

Please sign in to comment.