LookupCustomMetadataMap() is deprecated in 1.13.1, so change to 1.12.1

This commit is contained in:
weiliang 2022-11-24 16:27:17 +08:00
parent a66b77d003
commit 24885f6ac2

View File

@ -45,8 +45,8 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0' implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.microsoft.onnxruntime:onnxruntime-mobile:latest.release' implementation 'com.microsoft.onnxruntime:onnxruntime-mobile:1.12.1'
extractForNativeBuild 'com.microsoft.onnxruntime:onnxruntime-mobile:latest.release' extractForNativeBuild 'com.microsoft.onnxruntime:onnxruntime-mobile:1.12.1'
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
@ -70,4 +70,4 @@ tasks.whenTaskAdded { task ->
if (task.name.contains('externalNativeBuild')) { if (task.name.contains('externalNativeBuild')) {
task.dependsOn(extractAARForNativeBuild) task.dependsOn(extractAARForNativeBuild)
} }
} }