From 66dca7b1365a7b253eee1323dc72aa6783115034 Mon Sep 17 00:00:00 2001 From: Randy Secrist Date: Thu, 19 Aug 2021 15:37:04 -0600 Subject: [PATCH 1/2] make mockserver a testImplementation dep --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index a5e831c4..77d0f41c 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -48,7 +48,7 @@ android { implementation 'androidx.webkit:webkit:1.4.0' implementation 'androidx.browser:browser:1.3.0' implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'com.squareup.okhttp3:mockwebserver:3.14.7' + testImplementation 'com.squareup.okhttp3:mockwebserver:3.14.7' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' } } From e29bc782d8608d66f2d5230815266bd3bcc4bb31 Mon Sep 17 00:00:00 2001 From: Randy Secrist Date: Thu, 19 Aug 2021 17:39:40 -0600 Subject: [PATCH 2/2] use okhttp instead of mockserver --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 77d0f41c..3bf9477b 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -48,7 +48,7 @@ android { implementation 'androidx.webkit:webkit:1.4.0' implementation 'androidx.browser:browser:1.3.0' implementation 'androidx.appcompat:appcompat:1.2.0' - testImplementation 'com.squareup.okhttp3:mockwebserver:3.14.7' + implementation 'com.squareup.okhttp3:okhttp:3.14.9' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' } }