Skip to content

Commit

Permalink
Update to androidx.annotation 1.7.0-beta01
Browse files Browse the repository at this point in the history
And remove workaround to use jvm version since that issue has now been fixed.

PiperOrigin-RevId: 558254984
  • Loading branch information
brettchabot authored and copybara-androidxtest committed Aug 18, 2023
1 parent 2936925 commit ffc7a5c
Show file tree
Hide file tree
Showing 81 changed files with 128 additions and 100 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ grpc_java_repositories()
maven_install(
name = "maven",
artifacts = [
"androidx.annotation:annotation-jvm:" + ANDROIDX_ANNOTATION_VERSION,
"androidx.annotation:annotation:" + ANDROIDX_ANNOTATION_VERSION,
"androidx.annotation:annotation-experimental:jar:" + ANDROIDX_ANNOTATION_EXPERIMENTAL_VERSION,
"androidx.appcompat:appcompat:" + ANDROIDX_COMPAT_VERSION,
"androidx.concurrent:concurrent-futures:" + ANDROIDX_CONCURRENT_VERSION,
Expand Down
2 changes: 1 addition & 1 deletion annotation/java/androidx/test/annotation/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android_library(
manifest = "AndroidManifest.xml",
tags = ["alt_dep=//annotation"],
deps = [
"//opensource/androidx:annotation",
"@maven//:androidx_annotation_annotation_experimental",
"@maven//:androidx_annotation_annotation_jvm",
],
)

Expand Down
2 changes: 1 addition & 1 deletion build_extensions/axt_versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SERVICES_APK_ARTIFACT = "androidx.test.services:test-services:%s" % SERVICES_VER
ORCHESTRATOR_ARTIFACT = "androidx.test:orchestrator:%s" % ORCHESTRATOR_VERSION

# Maven dependency versions
ANDROIDX_ANNOTATION_VERSION = "1.6.0"
ANDROIDX_ANNOTATION_VERSION = "1.7.0-beta01"
ANDROIDX_ANNOTATION_EXPERIMENTAL_VERSION = "1.1.0"
ANDROIDX_COMPAT_VERSION = "1.3.1"
ANDROIDX_CONCURRENT_VERSION = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion core/java/androidx/test/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ kt_android_library(
deps = [
":manifest",
"//annotation",
"//opensource/androidx:annotation",
"//runner/monitor",
"//services/storage",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:androidx_concurrent_concurrent_futures",
"@maven//:androidx_lifecycle_lifecycle_common",
"@maven//:androidx_tracing_tracing",
Expand Down
2 changes: 1 addition & 1 deletion core/javatests/androidx/test/core/app/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kt_android_library(
resource_files = glob(["res/**"]),
visibility = ["//visibility:public"],
deps = [
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
"@maven//:com_google_guava_guava",
"@maven//:junit_junit",
],
Expand Down
8 changes: 4 additions & 4 deletions espresso/core/java/androidx/test/espresso/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ android_library(
"//espresso/core/java/androidx/test/espresso/remote:interface",
"//espresso/core/java/androidx/test/espresso/util",
"//espresso/core/java/androidx/test/espresso/util/concurrent",
"//opensource/androidx:annotation",
"//opensource/dagger",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:androidx_concurrent_concurrent_futures",
"@maven//:javax_inject_javax_inject",
"@maven//:org_hamcrest_hamcrest_core",
Expand Down Expand Up @@ -110,9 +110,9 @@ android_library(
"//espresso/core/java/androidx/test/espresso/base:idling_resource_registry",
"//espresso/core/java/androidx/test/espresso/internal/data",
"//espresso/core/java/androidx/test/espresso/util/concurrent",
"//opensource/androidx:annotation",
"//opensource/dagger",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:javax_inject_javax_inject",
"@maven//:org_hamcrest_hamcrest_core",
],
Expand Down Expand Up @@ -159,8 +159,8 @@ android_library(
"//espresso/core/java/androidx/test/espresso/util",
"//espresso/core/java/androidx/test/espresso/util/concurrent",
"//espresso/idling_resource/java/androidx/test/espresso:idling_resource_internal",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:com_google_code_findbugs_jsr305",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand All @@ -185,8 +185,8 @@ android_library(
deps = [
"//annotation",
"//espresso/core/java/androidx/test/espresso/util",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:com_google_errorprone_error_prone_annotations",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_jetbrains_kotlin_kotlin_stdlib",
Expand Down
4 changes: 2 additions & 2 deletions espresso/core/java/androidx/test/espresso/action/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android_library(
deps = [
"//espresso/core/java/androidx/test/espresso/matcher",
"//espresso/core/java/androidx/test/espresso/util",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:org_jetbrains_kotlin_kotlin_stdlib",
],
)
Expand All @@ -46,8 +46,8 @@ android_library(
"//espresso/core/java/androidx/test/espresso/remote/annotation:remote_msg_annotations",
"//espresso/core/java/androidx/test/espresso/util",
"//espresso/idling_resource/java/androidx/test/espresso:idling_resource",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:com_google_errorprone_error_prone_annotations",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand Down
2 changes: 1 addition & 1 deletion espresso/core/java/androidx/test/espresso/assertion/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android_library(
"//espresso/core/java/androidx/test/espresso/matcher",
"//espresso/core/java/androidx/test/espresso/remote/annotation:remote_msg_annotations",
"//espresso/core/java/androidx/test/espresso/util",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand Down
6 changes: 3 additions & 3 deletions espresso/core/java/androidx/test/espresso/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ android_library(
"//espresso/core/java/androidx/test/espresso/util",
"//espresso/core/java/androidx/test/espresso/util/concurrent",
"//espresso/idling_resource/java/androidx/test/espresso:idling_resource",
"//opensource/androidx:annotation",
"//opensource/dagger",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:javax_inject_javax_inject",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_jetbrains_kotlin_kotlin_stdlib",
Expand Down Expand Up @@ -70,8 +70,8 @@ android_library(
"//espresso/core/java/androidx/test/espresso:interface",
"//espresso/core/java/androidx/test/espresso/util",
"//espresso/idling_resource/java/androidx/test/espresso:idling_resource_internal",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:javax_inject_javax_inject",
"@maven//:org_jetbrains_kotlin_kotlin_stdlib",
],
Expand Down Expand Up @@ -102,10 +102,10 @@ android_library(
"//espresso/core/java/androidx/test/espresso:interface",
"//espresso/core/java/androidx/test/espresso/internal/inject",
"//espresso/core/java/androidx/test/espresso/util",
"//opensource/androidx:annotation",
"//opensource/dagger",
"//runner/monitor",
"//services/storage/java/androidx/test/services/storage",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:javax_inject_javax_inject",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ java_library(
name = "dagger",
srcs = glob(["*java"]),
deps = [
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android_library(
name = "base",
srcs = glob(["*java"]),
deps = [
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:org_jetbrains_kotlin_kotlin_stdlib",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android_library(
deps = [
"//espresso/core/java/androidx/test/espresso/action",
"//espresso/core/java/androidx/test/espresso/internal/data/model",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kt_android_library(
]),
deps = [
"//espresso/core/java/androidx/test/espresso:framework",
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
"@maven//:org_hamcrest_hamcrest_core",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android_library(
"//:__subpackages__",
],
deps = [
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
"@maven//:javax_inject_javax_inject",
],
)
2 changes: 1 addition & 1 deletion espresso/core/java/androidx/test/espresso/matcher/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android_library(
"//espresso/core/java/androidx/test/espresso/remote:interface",
"//espresso/core/java/androidx/test/espresso/remote/annotation:remote_msg_annotations",
"//espresso/core/java/androidx/test/espresso/util",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand Down
4 changes: 2 additions & 2 deletions espresso/core/java/androidx/test/espresso/remote/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ android_library(
"//espresso/core/java/androidx/test/espresso:framework",
"//espresso/core/java/androidx/test/espresso:interface",
"//espresso/core/java/androidx/test/espresso/remote/annotation:remote_msg_annotations",
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
"@maven//:org_hamcrest_hamcrest_core",
],
)
Expand All @@ -47,8 +47,8 @@ android_library(
visibility = ["//visibility:public"],
deps = [
":exceptions",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
],
)

Expand Down
2 changes: 1 addition & 1 deletion espresso/core/java/androidx/test/espresso/screenshot/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kt_android_library(
"//espresso/core/java/androidx/test/espresso:interface",
"//espresso/core/java/androidx/test/espresso:view-interaction",
"//espresso/core/java/androidx/test/espresso/matcher",
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
"@maven//:androidx_concurrent_concurrent_futures",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand Down
2 changes: 1 addition & 1 deletion espresso/core/java/androidx/test/espresso/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ kt_android_library(
]),
deps = [
"//espresso/core/java/androidx/test/espresso/core/internal/deps/guava/base",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:org_hamcrest_hamcrest_core",
"@maven_listenablefuture//:com_google_guava_listenablefuture",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ android_library(
"*.kt",
]),
deps = [
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven_listenablefuture//:com_google_guava_listenablefuture",
],
)
4 changes: 2 additions & 2 deletions espresso/core/javatests/androidx/test/espresso/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android_library(
"//espresso/core/javatests/androidx/test/espresso:__subpackages__",
],
deps = [
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:org_hamcrest_hamcrest_core",
],
)
Expand All @@ -48,10 +48,10 @@ android_app_instrumentation_tests(
"//espresso/core/java/androidx/test/espresso/remote:interface",
"//espresso/core/java/androidx/test/espresso/util/concurrent",
"//ext/junit",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"//runner/rules",
"//testapps/ui_testapp/java/androidx/test/ui/app:lib_neverlink",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:androidx_concurrent_concurrent_futures",
"@maven//:com_google_truth_truth",
"@maven//:junit_junit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ android_app_instrumentation_tests(
"//espresso/intents/java/androidx/test/espresso/intent:intents",
"//espresso/intents/java/androidx/test/espresso/intent/matcher",
"//ext/junit",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"//runner/rules",
"//services/storage/java/androidx/test/services/storage",
"//testapps/ui_testapp/java/androidx/test/ui/app:lib_neverlink",
"//testapps/ui_testapp/javatests/androidx/test/ui/app:test_resources",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:com_google_truth_truth",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
Expand Down
2 changes: 1 addition & 1 deletion espresso/core/javatests/androidx/test/espresso/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ android_app_instrumentation_tests(
"//espresso/core/java/androidx/test/espresso/matcher",
"//espresso/core/javatests/androidx/test/espresso:utils",
"//ext/junit",
"//opensource/androidx:annotation",
"//runner/android_junit_runner/java/androidx/test:runner",
"//runner/rules",
"//services/storage",
"//testapps/ui_testapp/java/androidx/test/ui/app:lib_neverlink",
"//testapps/ui_testapp/javatests/androidx/test/ui/app:test_resources",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:com_google_truth_truth",
"@maven//:javax_inject_javax_inject",
"@maven//:junit_junit",
Expand Down
4 changes: 2 additions & 2 deletions espresso/core/javatests/androidx/test/espresso/matcher/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ android_app_instrumentation_tests(
"//espresso/core/java/androidx/test/espresso/assertion",
"//espresso/core/java/androidx/test/espresso/matcher",
"//ext/junit",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"//runner/rules",
"//testapps/ui_testapp/java/androidx/test/ui/app:lib_neverlink",
"@androidsdk//:legacy_test-30",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand All @@ -71,11 +71,11 @@ android_app_instrumentation_tests(
"//espresso/core/java/androidx/test/espresso/assertion",
"//espresso/core/java/androidx/test/espresso/matcher",
"//ext/junit",
"//opensource/androidx:annotation",
"//runner/android_junit_runner",
"//runner/rules",
"//testapps/ui_testapp/java/androidx/test/ui/app:lib_neverlink",
"@androidsdk//:legacy_test-30",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
"@maven//:org_hamcrest_hamcrest_library",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kt_android_library(
"*.java",
]),
deps = [
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kt_android_library(
deps = [
"//annotation/java/androidx/test/annotation",
"//espresso/core/java/androidx/test/espresso:interface",
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
],
)

Expand All @@ -34,7 +34,7 @@ kt_android_library(
deps = [
"//espresso/device/java/androidx/test/espresso/device/common",
"//espresso/device/java/androidx/test/espresso/device/controller",
"//opensource/androidx:annotation",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ kt_android_library(
deps = [
"//espresso/device/java/androidx/test/espresso/device/action",
"//espresso/device/java/androidx/test/espresso/device/controller",
"//opensource/androidx:annotation",
"//opensource/emulator/proto:emulator_controller_java_grpc",
"//opensource/emulator/proto:emulator_controller_java_proto_lite",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
"@maven//:io_grpc_grpc_okhttp",
"@maven//:io_grpc_grpc_stub",
"@maven//:org_apache_tomcat_annotations_api",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ kt_android_library(
"//espresso/device/java/androidx/test/espresso/device/controller",
"//espresso/device/java/androidx/test/espresso/device/controller:controller_impl",
"//espresso/device/java/androidx/test/espresso/device/controller/emulator",
"//opensource/androidx:annotation",
"//opensource/dagger",
"//runner/monitor",
"@maven//:androidx_annotation_annotation_jvm",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ android_library(
name = "emulator",
testonly = 1,
srcs = glob(["*.java"]),
deps = ["@maven//:androidx_annotation_annotation_jvm"],
deps = ["//opensource/androidx:annotation"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android_library(
visibility = ["//visibility:public"],
deps = [
"//espresso/idling_resource/java/androidx/test/espresso:idling_resource_internal",
"@maven//:androidx_annotation_annotation_jvm",
"//opensource/androidx:annotation",
],
)

Expand Down
Loading

0 comments on commit ffc7a5c

Please sign in to comment.