Skip to content

Commit 3f52968

Browse files
Merge pull request #2362 from android:upgradeAndroidXConcurrent
PiperOrigin-RevId: 739267199
2 parents 794299c + f95f1bf commit 3f52968

File tree

6 files changed

+11
-192
lines changed

6 files changed

+11
-192
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ maven.artifact(
4040
maven.install(
4141
name = "maven",
4242
artifacts = [
43-
"androidx.annotation:annotation:1.7.0-beta01",
44-
"androidx.concurrent:concurrent-futures:1.1.0",
45-
"androidx.concurrent:concurrent-futures-ktx:1.1.0",
43+
"androidx.annotation:annotation:1.7.0",
44+
"androidx.concurrent:concurrent-futures:1.2.0",
45+
"androidx.concurrent:concurrent-futures-ktx:1.2.0",
4646
"androidx.core:core:1.6.0",
4747
"androidx.lifecycle:lifecycle-common:2.3.1",
4848
"androidx.multidex:multidex:2.0.0",
Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
11
"""Defines versions of androidx.test dependencies."""
22

3-
# Maven dependency versions
4-
ANDROIDX_ANNOTATION_VERSION = "1.7.0-beta01"
5-
ANDROIDX_ANNOTATION_EXPERIMENTAL_VERSION = "1.1.0"
6-
ANDROIDX_COMPAT_VERSION = "1.3.1"
7-
8-
# TODO(i336855276): update to 1.2.0 release when available
9-
ANDROIDX_CONCURRENT_VERSION = "1.1.0"
10-
ANDROIDX_CORE_VERSION = "1.6.0"
11-
ANDROIDX_FRAGMENT_VERSION = "1.3.6"
12-
ANDROIDX_CURSOR_ADAPTER_VERSION = "1.0.0"
13-
ANDROIDX_DRAWER_LAYOUT_VERSION = "1.1.1"
14-
ANDROIDX_LEGACY_SUPPORT_VERSION = "1.0.0"
15-
ANDROIDX_LIFECYCLE_VERSION = "2.3.1"
16-
ANDROIDX_MULTIDEX_VERSION = "2.0.0"
17-
ANDROIDX_RECYCLERVIEW_VERSION = "1.2.1"
18-
ANDROIDX_TRACING_VERSION = "1.1.0"
19-
ANDROIDX_VIEWPAGER_VERSION = "1.0.0"
20-
ANDROIDX_WINDOW_VERSION = "1.1.0"
21-
GOOGLE_MATERIAL_VERSION = "1.4.0"
22-
UIAUTOMATOR_VERSION = "2.2.0"
23-
JANK_VERSION = "1.0.1"
3+
# These must match versions specified in MODULE.bazel
4+
# Unfortunately MODULE.bazel files do not support load
5+
# so there is no known way to share these constants
246

25-
# this should match the kotlin toolchain version eg bazel_rules/rules_kotlin/toolchains/kotlin_jvm/kt_jvm_toolchains.bzl KT_VERSION
26-
# and WORKSPACE:KOTLIN_VERSION
7+
# Maven dependency versions
8+
ANDROIDX_ANNOTATION_VERSION = "1.7.0"
279
KOTLIN_VERSION = "2.1.0"
2810
GRPC_VERSION = "1.54.1" # needs to match WORKSPACE:GRPC_VERSION
29-
30-
ATF_VERSION = "3.1.2" # accessibilitytestframework
31-
JUNIT_VERSION = "4.13.2"
32-
HAMCREST_VERSION = "1.3"
33-
TRUTH_VERSION = "1.1.3"
34-
GUAVA_VERSION = "30.1.1-android"
35-
GUAVA_LISTENABLEFUTURE_VERSION = "1.0"

core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
**Bug Fixes**
88

99
* Update build toolchain to bazel 7.5 and kotlin 2.1.0
10+
* Update to androidx.concurrent 1.2.0
1011

1112
**New Features**
1213

core/java/androidx/test/core/view/SuspendToFutureAdapter.kt

Lines changed: 0 additions & 159 deletions
This file was deleted.

core/java/androidx/test/core/view/ViewCapture.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import android.view.ViewTreeObserver.OnDrawListener
3333
import android.view.WindowManager
3434
import androidx.annotation.RequiresApi
3535
import androidx.annotation.RestrictTo
36+
import androidx.concurrent.futures.SuspendToFutureAdapter
3637
import androidx.test.core.internal.os.HandlerExecutor
3738
import androidx.test.internal.platform.ServiceLoaderWrapper
3839
import androidx.test.internal.platform.os.ControlledLooper

core/java/androidx/test/core/view/WindowCapture.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import android.os.Looper
2525
import android.view.PixelCopy
2626
import android.view.Window
2727
import androidx.annotation.RequiresApi
28+
import androidx.concurrent.futures.SuspendToFutureAdapter
2829
import androidx.test.platform.graphics.HardwareRendererCompat
2930
import com.google.common.util.concurrent.ListenableFuture
3031
import kotlin.coroutines.resumeWithException

0 commit comments

Comments
 (0)