From 74c8dbe631f6bbced5dde4ad941e8353ecdb2547 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 3 May 2019 08:47:15 -0700 Subject: [PATCH] Fix gradle directory error Summary: Without this, running clean as part of a longer build chain will fail because it tries to write to a directory which got removed in a previous step. Reviewed By: jknoxville Differential Revision: D15197982 fbshipit-source-id: 296f5a30661a6e2138c0e37f0103f1b6a82bcfc9 --- android/third-party/native.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/third-party/native.gradle b/android/third-party/native.gradle index acba437e2..42558a2d7 100644 --- a/android/third-party/native.gradle +++ b/android/third-party/native.gradle @@ -224,7 +224,7 @@ task prepareRSocket(dependsOn: [downloadRSocket], type: Copy) { into "$externalDir/RSocket" } -task writeCacheRevision() { +task writeCacheRevision(dependsOn: createNativeDepsDirectories) { doLast { revisionFile.text = CACHE_REVISION.toString() }