aboutsummaryrefslogtreecommitdiff
path: root/rules.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'rules.gradle')
-rw-r--r--rules.gradle12
1 files changed, 7 insertions, 5 deletions
diff --git a/rules.gradle b/rules.gradle
index fd660cd..e0aef80 100644
--- a/rules.gradle
+++ b/rules.gradle
@@ -21,14 +21,16 @@ tasks.withType(JavaCompile) {
dependencies {
implementation "androidx.annotation:annotation:1.0.1"
+ compileOnly "org.chromium.net:cronet-embedded:76.3809.111"
}
// Check if the android plugin version supports unit testing.
-if (configurations.findByName("testCompile")) {
+if (configurations.findByName("testImplementation")) {
dependencies {
- testCompile "junit:junit:4.12"
- testCompile "org.hamcrest:hamcrest-library:1.3"
- testCompile "org.mockito:mockito-core:2.19.0"
- testCompile "org.robolectric:robolectric:3.4.2"
+ testImplementation "org.chromium.net:cronet-embedded:76.3809.111"
+ testImplementation "junit:junit:4.12"
+ testImplementation "org.hamcrest:hamcrest-library:1.3"
+ testImplementation "org.mockito:mockito-core:2.19.0"
+ testImplementation "org.robolectric:robolectric:3.4.2"
}
}