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
This commit is contained in:
Pascal Hartig
2019-05-03 08:47:15 -07:00
committed by Facebook Github Bot
parent 0149296fc1
commit 74c8dbe631

View File

@@ -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()
}