Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Pin ONNX Runtime version to 1.22

laurenspriem1d6f959d996d
diff --git a/mobile/apps/photos/plugins/onnx_dart/android/build.gradle b/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
index 0066464309..5932438b3e 100644
--- a/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
+++ b/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
@@ -53,7 +53,9 @@ android {
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.mockito:mockito-core:5.0.0")
- implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.22.0'
+ implementation("com.microsoft.onnxruntime:onnxruntime-android") {
+ version { strictly("1.22.0") }
+ }
}
testOptions {