diff --git a/matrix-sdk-android/gradle-publish.gradle b/matrix-sdk-android/gradle-publish.gradle
index d5585478d552cd96febce0636bf273f0e4e17a00..4a07e2f283c58f7af7ac3a0635283c6dc97adf38 100644
--- a/matrix-sdk-android/gradle-publish.gradle
+++ b/matrix-sdk-android/gradle-publish.gradle
@@ -36,6 +36,7 @@ publishing {
                 }
                 configurations.api.getDependencies().each { dep -> addDependency(dep, "compile") }
                 configurations.implementation.getDependencies().each { dep -> addDependency(dep, "runtime") }
+                configurations.rustCryptoImplementation.getDependencies().each { dep -> addDependency(dep, "runtime") }
             }
         }
     }