From 9912c09348618e663c489f49f297ea2674e8be4d Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 10 Aug 2018 21:17:09 +0800 Subject: [PATCH 1/5] bump gradle robolectric to 3.6.1 --- ReactAndroid/gradle.properties | 2 +- .../react/modules/clipboard/ClipboardModuleTest.java | 4 ---- .../com/facebook/react/modules/dialog/DialogModuleTest.java | 2 +- .../com/facebook/react/modules/share/ShareModuleTest.java | 6 ++---- .../react/modules/storage/AsyncStorageModuleTest.java | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 35b82ce516f757..70f74776a8b5d0 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -7,7 +7,7 @@ POM_PACKAGING=aar MOCKITO_CORE_VERSION=2.19.1 POWERMOCK_VERSION=1.6.2 -ROBOLECTRIC_VERSION=3.0 +ROBOLECTRIC_VERSION=3.6.1 JUNIT_VERSION=4.12 FEST_ASSERT_CORE_VERSION=2.0M10 diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/clipboard/ClipboardModuleTest.java b/ReactAndroid/src/test/java/com/facebook/react/modules/clipboard/ClipboardModuleTest.java index a0d93c4db3bd3e..575267b0128435 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/clipboard/ClipboardModuleTest.java +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/clipboard/ClipboardModuleTest.java @@ -11,14 +11,10 @@ import android.content.Context; import android.text.ClipboardManager; -import com.facebook.react.bridge.ReactTestHelper; -import com.facebook.react.modules.clipboard.ClipboardModule; - import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.powermock.core.classloader.annotations.PowerMockIgnore; -import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import org.robolectric.RuntimeEnvironment; diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/dialog/DialogModuleTest.java b/ReactAndroid/src/test/java/com/facebook/react/modules/dialog/DialogModuleTest.java index 847c71954a75bb..05cb647da0dc2e 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/dialog/DialogModuleTest.java +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/dialog/DialogModuleTest.java @@ -23,7 +23,7 @@ import org.powermock.core.classloader.annotations.PowerMockIgnore; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; -import org.robolectric.util.ActivityController; +import org.robolectric.android.controller.ActivityController; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/share/ShareModuleTest.java b/ReactAndroid/src/test/java/com/facebook/react/modules/share/ShareModuleTest.java index 86f99cd9dc1928..d13a49e55537bf 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/share/ShareModuleTest.java +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/share/ShareModuleTest.java @@ -12,7 +12,6 @@ import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Promise; -import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactTestHelper; import com.facebook.react.bridge.JavaOnlyMap; @@ -30,10 +29,9 @@ import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.core.classloader.annotations.PowerMockIgnore; import org.powermock.modules.junit4.rule.PowerMockRule; -import org.robolectric.internal.ShadowExtractor; -import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import org.robolectric.RuntimeEnvironment; +import org.robolectric.shadow.api.Shadow; import org.robolectric.shadows.ShadowApplication; import static org.junit.Assert.assertEquals; @@ -84,7 +82,7 @@ public void testShareDialog() { mShareModule.share(content, dialogTitle, promise); final Intent chooserIntent = - ((ShadowApplication)ShadowExtractor.extract(RuntimeEnvironment.application)).getNextStartedActivity(); + ((ShadowApplication) Shadow.extract(RuntimeEnvironment.application)).getNextStartedActivity(); assertNotNull("Dialog was not displayed", chooserIntent); assertEquals(Intent.ACTION_CHOOSER, chooserIntent.getAction()); assertEquals(dialogTitle, chooserIntent.getExtras().get(Intent.EXTRA_TITLE)); diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/storage/AsyncStorageModuleTest.java b/ReactAndroid/src/test/java/com/facebook/react/modules/storage/AsyncStorageModuleTest.java index 559c8669b0629d..f07bf6a54ff186 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/storage/AsyncStorageModuleTest.java +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/storage/AsyncStorageModuleTest.java @@ -46,7 +46,7 @@ import org.robolectric.RuntimeEnvironment; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; -import org.robolectric.util.concurrent.RoboExecutorService; +import org.robolectric.android.util.concurrent.RoboExecutorService; import static org.mockito.Mockito.mock; import static org.fest.assertions.api.Assertions.assertThat; From 0855095a4cfbb850861afe5dc3b091a5b9faf6e9 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 10 Aug 2018 23:55:14 +0800 Subject: [PATCH 2/5] bump robolectric for buck and CI --- .../src/test/java/com/facebook/powermock/BUCK | 4 +- .../java/robolectric3/robolectric/BUCK | 141 +++++++++--------- .../test/java/com/facebook/react/modules/BUCK | 1 + 3 files changed, 71 insertions(+), 75 deletions(-) diff --git a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK index 768455a121428b..eed697b7bf6da4 100644 --- a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK +++ b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK @@ -99,8 +99,8 @@ rn_prebuilt_jar( remote_file( name = "download-xstream.jar", - sha1 = "97e5013f391487cce4de6b0eebcde21549e91872", - url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.2", + sha1 = "520d90f30f36a0d6ba2dc929d980831631ad6a92", + url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.8", ) rn_prebuilt_jar( diff --git a/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK b/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK index 1df19014bcd283..59d2fbd537ec41 100644 --- a/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK +++ b/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK @@ -4,17 +4,18 @@ rn_android_library( name = "robolectric", visibility = ["//ReactAndroid/..."], exported_deps = [ - ":android-all-4.1.2_r1-robolectric-0", + ":android-all-4.1.2_r1-robolectric-r1", ":bouncycastle", - ":icu", - ":json-20080701", ":robolectric-annotations", ":robolectric-core", + ":robolectric-junit", ":robolectric-resources", + ":robolectric-sandbox", + ":robolectric-shadowapi", + ":robolectric-shadows-framework", ":robolectric-utils", - ":shadows-core-3.0-16", - ":tagsoup-1.2", - ":vtd-xml", + ":guava", + ":xstream", react_native_dep("third-party/java/asm:asm"), react_native_dep("third-party/java/sqlite:sqlite"), ], @@ -28,8 +29,8 @@ rn_prebuilt_jar( remote_file( name = "robolectric-binary.jar", - sha1 = "f888cea3bc1a24110e315eb9827ab593610ea62f", - url = "mvn:org.robolectric:robolectric:jar:3.0", + sha1 = "26cfb22e682110716ccd516da2f2851016b3efae", + url = "mvn:org.robolectric:robolectric:jar:3.6.1", ) rn_prebuilt_jar( @@ -40,8 +41,8 @@ rn_prebuilt_jar( remote_file( name = "robolectric-resources-binary.jar", - sha1 = "1ab609054aab67cd13a434567467f4b4774f2465", - url = "mvn:org.robolectric:robolectric-resources:jar:3.0", + sha1 = "f8b6cf44b7729839ce3e1778424d97d47b55d305", + url = "mvn:org.robolectric:resources:jar:3.6.1", ) rn_prebuilt_jar( @@ -52,128 +53,122 @@ rn_prebuilt_jar( remote_file( name = "robolectric-annotations-binary.jar", - sha1 = "2a6cfc072d7680694c1ff893c5dc8fec33163110", - url = "mvn:org.robolectric:robolectric-annotations:jar:3.0", + sha1 = "bc643af7206d2de1ab8902c80baf620ffd5ad302", + url = "mvn:org.robolectric:annotations:jar:3.6.1", ) rn_prebuilt_jar( - name = "robolectric-utils", - binary_jar = ":robolectric-utils-binary.jar", + name = "robolectric-junit", + binary_jar = ":robolectric-junit-binary.jar", visibility = ["//ReactAndroid/..."], ) remote_file( - name = "robolectric-utils-binary.jar", - sha1 = "4bcecd8115fe7296088bb1636e6cbd7ae8927392", - url = "mvn:org.robolectric:robolectric-utils:jar:3.0", + name = "robolectric-junit-binary.jar", + sha1 = "a2e92127ed9596fb9406d1b49dc9daf091d5fa43", + url = "mvn:org.robolectric:junit:jar:3.6.1", ) rn_prebuilt_jar( - name = "bouncycastle", - binary_jar = ":bouncycastle-binary.jar", + name = "robolectric-sandbox", + binary_jar = ":robolectric-sandbox-binary.jar", visibility = ["//ReactAndroid/..."], ) remote_file( - name = "bouncycastle-binary.jar", - sha1 = "ce091790943599535cbb4de8ede84535b0c1260c", - url = "mvn:org.bouncycastle:bcprov-jdk16:jar:1.46", + name = "robolectric-sandbox-binary.jar", + sha1 = "7b700eb7938ac3857c70013403e478b44e1d27c3", + url = "mvn:org.robolectric:sandbox:jar:3.6.1", ) rn_prebuilt_jar( - name = "vtd-xml", - binary_jar = ":vtd-xml-binary.jar", + name = "robolectric-shadows-framework", + binary_jar = ":robolectric-shadows-framework-binary.jar", visibility = ["//ReactAndroid/..."], ) remote_file( - name = "vtd-xml-binary.jar", - sha1 = "ee5bcf62c1acf76434ee9f1c67a840bafef72a6d", - url = "mvn:com.ximpleware:vtd-xml:jar:2.11", + name = "robolectric-shadows-framework-binary.jar", + sha1 = "157acb72761a31a8eaa2e41d9d9b57d81a232c8b", + url = "mvn:org.robolectric:shadows-framework:jar:3.6.1", ) rn_prebuilt_jar( - name = "icu", - binary_jar = ":icu-binary.jar", + name = "robolectric-utils", + binary_jar = ":robolectric-utils-binary.jar", visibility = ["//ReactAndroid/..."], ) remote_file( - name = "icu-binary.jar", - sha1 = "786d9055d4ca8c1aab4a7d4ac8283f973fd7e41f", - url = "mvn:com.ibm.icu:icu4j:jar:53.1", + name = "robolectric-utils-binary.jar", + sha1 = "a561992a644530a5a39eda744288bdb05c796141", + url = "mvn:org.robolectric:utils:jar:3.6.1", ) rn_prebuilt_jar( - name = "android-all-4.1.2_r1-robolectric-0", # name defines filename used by robolectric in runtime - binary_jar = ":robolectric-android-all-binary.jar", + name = "bouncycastle", + binary_jar = ":bouncycastle-binary.jar", visibility = ["//ReactAndroid/..."], ) -# This new rule will make the .jar file appear in the "right" location, -# though that may change in the future -export_file( - name = "robolectric-android-all-binary.jar", - src = ":robolectric-android-all-binary-remote.jar", - out = "../android-all-4.1.2_r1-robolectric-0.jar", # name defines filename used by robolectric in runtime -) - remote_file( - name = "robolectric-android-all-binary-remote.jar", - sha1 = "aecc8ce5119a25fcea1cdf8285469c9d1261a352", - url = "mvn:org.robolectric:android-all:jar:4.1.2_r1-robolectric-0", + name = "bouncycastle-binary.jar", + sha1 = "88a941faf9819d371e3174b5ed56a3f3f7d73269", + url = "mvn:org.bouncycastle:bcprov-jdk15on:jar:1.52", ) rn_prebuilt_jar( - name = "json-20080701", # name defines filename used by robolectric in runtime - binary_jar = ":json.jar", + name = "guava", + binary_jar = ":guava-binary.jar", visibility = ["//ReactAndroid/..."], ) -export_file( - name = "json.jar", - src = ":json-remote.jar", - out = "../json-20080701.jar", # name defines filename used by robolectric in runtime +remote_file( + name = "guava-binary.jar", + sha1 = "89507701249388e1ed5ddcf8c41f4ce1be7831ef", + url = "mvn:com.google.guava:guava:jar:20.0", +) + +rn_prebuilt_jar( + name = "xstream", + binary_jar = ":xstream-binary.jar", + visibility = ["//ReactAndroid/..."], ) remote_file( - name = "json-remote.jar", - sha1 = "d652f102185530c93b66158b1859f35d45687258", - url = "mvn:org.json:json:jar:20080701", + name = "xstream-binary.jar", + sha1 = "520d90f30f36a0d6ba2dc929d980831631ad6a92", + url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.8", ) rn_prebuilt_jar( - name = "tagsoup-1.2", # name defines filename used by robolectric in runtime - binary_jar = ":tagsoup.jar", + name = "android-all-4.1.2_r1-robolectric-r1", # name defines filename used by robolectric in runtime + binary_jar = ":robolectric-android-all-binary.jar", visibility = ["//ReactAndroid/..."], ) +# This new rule will make the .jar file appear in the "right" location, +# though that may change in the future export_file( - name = "tagsoup.jar", - src = ":tagsoup-remote.jar", - out = "../tagsoup-1.2.jar", # name defines filename used by robolectric in runtime + name = "robolectric-android-all-binary.jar", + src = ":robolectric-android-all-binary-remote.jar", + out = "../android-all-4.1.2_r1-robolectric-r1.jar", # name defines filename used by robolectric in runtime ) remote_file( - name = "tagsoup-remote.jar", - sha1 = "639fd364750d7363c85797dc944b4a80f78fa684", - url = "mvn:org.ccil.cowan.tagsoup:tagsoup:jar:1.2", + name = "robolectric-android-all-binary-remote.jar", + sha1 = "8355a2da59fe0233ca45070ca32f08da98d0b806", + url = "mvn:org.robolectric:android-all:jar:4.1.2_r1-robolectric-r1", ) rn_prebuilt_jar( - name = "shadows-core-3.0-16", # name defines filename used by robolectric in runtime - binary_jar = ":robolectric-shadows-binary.jar", + name = "robolectric-shadowapi", # name defines filename used by robolectric in runtime + binary_jar = ":robolectric-shadows.jar", visibility = ["//ReactAndroid/..."], ) -export_file( - name = "robolectric-shadows-binary.jar", - src = ":robolectric-shadows-binary-remote.jar", - out = "../shadows-core-3.0-16.jar", # name defines filename used by robolectric in runtime -) - remote_file( - name = "robolectric-shadows-binary-remote.jar", - sha1 = "39d7a856bf91640b1a6d044333336a2b3f3c198f", - url = "https://repo1.maven.org/maven2/org/robolectric/shadows-core/3.0/shadows-core-3.0-16.jar", + name = "robolectric-shadows.jar", + sha1 = "a1fcdb89cf593aa01fde2ad35f4f85cc2a9c1e15", + url = "mvn:org.robolectric:shadowapi:jar:3.6.1", ) diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK b/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK index e894c42db496c9..e82602d1a2943d 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK @@ -12,6 +12,7 @@ rn_robolectric_test( YOGA_TARGET, react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/support/v7/appcompat-orig:appcompat"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), From db38afd33ab7495c0cd77c1412ff5f492d15817c Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Sat, 11 Aug 2018 00:20:33 +0800 Subject: [PATCH 3/5] use ReactAndroid/gradle.properties as a part of CI cache key --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fd5b53d03059d9..e1ee7482b3231a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,6 +75,7 @@ aliases: - &restore-cache-downloads-gradle keys: + - v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "ReactAndroid/gradle.properties" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} - v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} - v1-gradle- - &save-cache-downloads-gradle @@ -82,7 +83,7 @@ aliases: - ~/.gradle - ReactAndroid/build/downloads - ReactAndroid/build/third-party-ndk - key: v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} + key: v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "ReactAndroid/gradle.properties" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} # Branch Filtering - &filter-only-master-stable From 6d7fa5b9bcc8ffa16d49645bcc251b0a2d4aa0bb Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Sat, 11 Aug 2018 00:32:46 +0800 Subject: [PATCH 4/5] remove duplicate xstream dependency --- .../src/test/java/com/facebook/powermock/BUCK | 16 ++-------------- .../java/robolectric3/robolectric/BUCK | 14 +------------- .../src/main/third-party/java/xstream/BUCK | 13 +++++++++++++ 3 files changed, 16 insertions(+), 27 deletions(-) create mode 100644 ReactAndroid/src/main/third-party/java/xstream/BUCK diff --git a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK index eed697b7bf6da4..57af721e4b9f4f 100644 --- a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK +++ b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK @@ -1,4 +1,4 @@ -load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar") +load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library", "rn_prebuilt_jar") rn_android_library( name = "powermock", @@ -15,7 +15,7 @@ rn_android_library( ":powermock-reflect", ":xmlpull", ":xpp3", - ":xstream", + react_native_dep("third-party/java/xstream:xstream"), ], ) @@ -91,18 +91,6 @@ remote_file( url = "mvn:org.powermock:powermock-classloading-base:jar:1.6.2", ) -rn_prebuilt_jar( - name = "xstream", - binary_jar = ":download-xstream.jar", - visibility = ["//ReactAndroid/..."], -) - -remote_file( - name = "download-xstream.jar", - sha1 = "520d90f30f36a0d6ba2dc929d980831631ad6a92", - url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.8", -) - rn_prebuilt_jar( name = "powermock-reflect", binary_jar = ":download-powermock-reflect.jar", diff --git a/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK b/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK index 59d2fbd537ec41..f0fbe8aae36933 100644 --- a/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK +++ b/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/BUCK @@ -15,9 +15,9 @@ rn_android_library( ":robolectric-shadows-framework", ":robolectric-utils", ":guava", - ":xstream", react_native_dep("third-party/java/asm:asm"), react_native_dep("third-party/java/sqlite:sqlite"), + react_native_dep("third-party/java/xstream:xstream"), ], ) @@ -129,18 +129,6 @@ remote_file( url = "mvn:com.google.guava:guava:jar:20.0", ) -rn_prebuilt_jar( - name = "xstream", - binary_jar = ":xstream-binary.jar", - visibility = ["//ReactAndroid/..."], -) - -remote_file( - name = "xstream-binary.jar", - sha1 = "520d90f30f36a0d6ba2dc929d980831631ad6a92", - url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.8", -) - rn_prebuilt_jar( name = "android-all-4.1.2_r1-robolectric-r1", # name defines filename used by robolectric in runtime binary_jar = ":robolectric-android-all-binary.jar", diff --git a/ReactAndroid/src/main/third-party/java/xstream/BUCK b/ReactAndroid/src/main/third-party/java/xstream/BUCK new file mode 100644 index 00000000000000..552d93387a21d3 --- /dev/null +++ b/ReactAndroid/src/main/third-party/java/xstream/BUCK @@ -0,0 +1,13 @@ +load("//ReactNative:DEFS.bzl", "rn_prebuilt_jar") + +rn_prebuilt_jar( + name = "xstream", + binary_jar = ":xstream.jar", + visibility = ["//ReactAndroid/..."], +) + +remote_file( + name = "xstream.jar", + sha1 = "520d90f30f36a0d6ba2dc929d980831631ad6a92", + url = "mvn:com.thoughtworks.xstream:xstream:jar:1.4.8", +) \ No newline at end of file From 603edb07b2b34dbe85f3907f3b6e9272e9b918b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Fri, 10 Aug 2018 10:13:44 -0700 Subject: [PATCH 5/5] Re-order cache key --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e1ee7482b3231a..2536e6412e4525 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,7 +75,7 @@ aliases: - &restore-cache-downloads-gradle keys: - - v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "ReactAndroid/gradle.properties" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} + - v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }}-{{ checksum "ReactAndroid/gradle.properties" }} - v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} - v1-gradle- - &save-cache-downloads-gradle @@ -83,7 +83,7 @@ aliases: - ~/.gradle - ReactAndroid/build/downloads - ReactAndroid/build/third-party-ndk - key: v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "ReactAndroid/gradle.properties" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }} + key: v1-gradle-{{ checksum "ReactAndroid/build.gradle" }}-{{ checksum "scripts/circleci/gradle_download_deps.sh" }}-{{ checksum "ReactAndroid/gradle.properties" }} # Branch Filtering - &filter-only-master-stable