diff --git a/android/sample/build.gradle b/android/sample/build.gradle index 61b6ece1e..30506ab37 100644 --- a/android/sample/build.gradle +++ b/android/sample/build.gradle @@ -21,8 +21,8 @@ android { } compileOptions { - targetCompatibility = "8" - sourceCompatibility = "8" + targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_1_8 } } diff --git a/build.gradle b/build.gradle index d8914c006..d0afe09c1 100644 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ ext.deps = [ soloader : 'com.facebook.soloader:soloader:0.6.0', screenshot : 'com.facebook.testing.screenshot:core:0.5.0', // Annotations - jsr305 : 'com.google.code.findbugs:jsr305:3.0.1', + jsr305 : 'com.google.code.findbugs:jsr305:3.0.2', inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2', // Litho lithoAnnotations : "com.facebook.litho:litho-annotations:$LITHO_VERSION", @@ -74,11 +74,11 @@ ext.deps = [ junit : 'junit:junit:4.12', hamcrest : 'org.hamcrest:hamcrest-library:1.3', mockito : 'org.mockito:mockito-core:1.9.5', - stetho : 'com.facebook.stetho:stetho:1.5.0', + stetho : 'com.facebook.stetho:stetho:1.5.1', okhttp3 : 'com.squareup.okhttp3:okhttp:3.14.1', - leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.6.1', - testCore : 'androidx.test:core:1.0.0', - testRules : 'androidx.test:rules:1.1.0', + leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.6.3', + testCore : 'androidx.test:core:1.1.0', + testRules : 'androidx.test:rules:1.1.0', // Plugin dependencies rhino : 'org.mozilla:rhino:1.7.10', frescoFlipper : 'com.facebook.fresco:flipper:1.13.0',