From 994672608db65a68b3ba3db8fa37bb613de89c20 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 10 Sep 2024 23:46:21 +0200 Subject: Add libs:documents Reads the abomination that is SAF, or Androids best effort to make files and directories completely and utterly unusable on Android. The androidTest was (and is) a pain, only known to work on a Pixel3 API 34 emulator but it showed a lot of things that the fake content provider in the unit tests failed to show. --- buildSrc/src/main/groovy/the_jk.android-conventions.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'buildSrc/src') diff --git a/buildSrc/src/main/groovy/the_jk.android-conventions.gradle b/buildSrc/src/main/groovy/the_jk.android-conventions.gradle index 09d3211..d14761f 100644 --- a/buildSrc/src/main/groovy/the_jk.android-conventions.gradle +++ b/buildSrc/src/main/groovy/the_jk.android-conventions.gradle @@ -42,6 +42,14 @@ dependencies { testImplementation(libs.junit) testImplementation(libs.robolectric) testImplementation(libs.truth) + + androidTestImplementation(libs.androidx.espresso.core) + androidTestImplementation(libs.androidx.junit) + androidTestImplementation(libs.androidx.test.core) + androidTestImplementation(libs.androidx.test.rules) + androidTestImplementation(libs.androidx.test.runner) + androidTestImplementation(libs.truth) + androidTestUtil(libs.androidx.orchestrator) } detekt { -- cgit v1.2.3-70-g09d2