aboutsummaryrefslogtreecommitdiff
path: root/rules.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'rules.gradle')
-rw-r--r--rules.gradle14
1 files changed, 3 insertions, 11 deletions
diff --git a/rules.gradle b/rules.gradle
index c7c0f70..af81ac2 100644
--- a/rules.gradle
+++ b/rules.gradle
@@ -14,17 +14,9 @@ android {
// Check if the android plugin version supports unit testing.
if (configurations.findByName("testCompile")) {
dependencies {
- testCompile "junit:junit:4.10"
- testCompile "org.mockito:mockito-core:1.9.5"
+ testCompile "junit:junit:4.12"
+ testCompile "org.hamcrest:hamcrest-library:1.3"
+ testCompile "org.mockito:mockito-core:2.2.29"
testCompile "org.robolectric:robolectric:3.0"
}
}
-
-// TODO(#4): Remove this once Javadoc errors are fixed
-if (JavaVersion.current().isJava8Compatible()) {
- allprojects {
- tasks.withType(Javadoc) {
- options.addStringOption('Xdoclint:none', '-quiet')
- }
- }
-}