Remove Robolectric and add androidx.tracing to the android_embedding_dependencies package (flutter/engine#29233)
This commit is contained in:
2
DEPS
2
DEPS
@@ -570,7 +570,7 @@ deps = {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'flutter/android/embedding_bundle',
|
||||
'version': 'last_updated:2021-08-10T22:12:57-0700'
|
||||
'version': 'last_updated:2021-10-18T13:21:02-0700'
|
||||
}
|
||||
],
|
||||
'condition': 'download_android_deps',
|
||||
|
||||
@@ -42,6 +42,7 @@ android {
|
||||
dependencies {
|
||||
embedding "androidx.annotation:annotation:1.1.0"
|
||||
embedding "androidx.fragment:fragment:1.1.0"
|
||||
embedding "androidx.tracing:tracing:1.0.0"
|
||||
|
||||
def lifecycle_version = "2.2.0"
|
||||
embedding "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
|
||||
@@ -53,17 +54,6 @@ android {
|
||||
// added to the user's app gradle in order to opt into using split AOT
|
||||
// dynamic features.
|
||||
embedding "com.google.android.play:core:1.8.0"
|
||||
|
||||
// Testing
|
||||
// TODO(xster): remove these android-all compile time dependencies.
|
||||
// Use https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/plugins/LegacyDependencyResolver.java#L24
|
||||
// and specify them as runtime dependencies.
|
||||
embeddingTesting "org.robolectric:android-all:9-robolectric-4913185-2"
|
||||
embeddingTesting_v16 "org.robolectric:android-all:4.1.2_r1-robolectric-r1"
|
||||
embeddingTesting "org.robolectric:robolectric:4.4"
|
||||
embeddingTesting "junit:junit:4.13"
|
||||
embeddingTesting "androidx.test:core:1.0.0"
|
||||
embeddingTesting "org.mockito:mockito-core:3.11.2"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user