File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ http_archive(
106
106
url = "https://github.com/google/dagger/archive/dagger-%s.zip" % DAGGER_TAG ,
107
107
)
108
108
109
- ROBOLECTRIC_TAG = "4.4 "
109
+ ROBOLECTRIC_TAG = "4.7.3 "
110
110
111
111
http_archive (
112
112
name = "robolectric" ,
113
- sha256 = "d4f2eb078a51f4e534ebf5e18b6cd4646d05eae9b362ac40b93831bdf46112c7 " ,
113
+ sha256 = "97f169d39f19412bdd07fd6c274dcda0a7c8f623f7f00aa5a3b94994fc6f0ec4 " ,
114
114
strip_prefix = "robolectric-bazel-%s" % ROBOLECTRIC_TAG ,
115
115
url = "https://github.com/robolectric/robolectric-bazel/archive/%s.tar.gz" % ROBOLECTRIC_TAG ,
116
116
)
@@ -183,7 +183,7 @@ maven_install(
183
183
"org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2" ,
184
184
"org.jetbrains:annotations:13.0" ,
185
185
"org.slf4j:slf4j-api:1.7.25" ,
186
- "org.robolectric:robolectric:4.4 " ,
186
+ "org.robolectric:robolectric:4.7.3 " ,
187
187
"org.scala-lang:scala-library:2.11.12" ,
188
188
"androidx.lifecycle:lifecycle-extensions:2.2.0" ,
189
189
"androidx.lifecycle:lifecycle-livedata-ktx:2.2.0" ,
Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ kt_android_library(
47
47
deps = DAO_TEST_LIB_DEPS ,
48
48
)
49
49
50
- # TODO(robinlinden): targetSdk 30 once robolectric supports it.
51
50
android_local_test (
52
51
name = "contact_dao_test" ,
53
52
size = "small" ,
54
53
custom_package = "ltd.evilcorp.core.db" ,
55
54
manifest_values = {
56
55
"minSdkVersion" : "19" ,
57
- "targetSdkVersion" : "29 " ,
56
+ "targetSdkVersion" : "31 " ,
58
57
},
59
58
test_class = "ltd.evilcorp.core.db.ContactDaoTest" ,
60
59
deps = [":contact_dao_test_lib" ] + DAO_TEST_DEPS ,
@@ -68,14 +67,13 @@ kt_android_library(
68
67
deps = DAO_TEST_LIB_DEPS ,
69
68
)
70
69
71
- # TODO(robinlinden): targetSdk 30 once robolectric supports it.
72
70
android_local_test (
73
71
name = "user_dao_test" ,
74
72
size = "small" ,
75
73
custom_package = "ltd.evilcorp.core.db" ,
76
74
manifest_values = {
77
75
"minSdkVersion" : "19" ,
78
- "targetSdkVersion" : "29 " ,
76
+ "targetSdkVersion" : "31 " ,
79
77
},
80
78
test_class = "ltd.evilcorp.core.db.UserDaoTest" ,
81
79
deps = [":user_dao_test_lib" ] + DAO_TEST_DEPS ,
You can’t perform that action at this time.
0 commit comments