Skip to content

Commit

Permalink
fix(ml_vision): build fixes for android BoM 25.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy authored and Salakar committed Jan 4, 2021
1 parent f2523b1 commit 024a11c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
14 changes: 12 additions & 2 deletions packages/firebase_ml_vision/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,18 @@ android {
disable 'InvalidPackage'
}
dependencies {
api 'com.google.firebase:firebase-ml-vision:20.0.0'
implementation 'com.google.firebase:firebase-common:16.1.0'
implementation platform("com.google.firebase:firebase-bom:25.13.0")
implementation 'com.google.firebase:firebase-common'
api "com.google.firebase:firebase-ml-vision"

implementation 'com.google.android.gms:play-services-vision:20.1.1'
implementation 'com.google.android.gms:play-services-vision-common:19.1.1'
implementation 'com.google.android.gms:play-services-vision-face-contour-internal:16.0.3'
implementation 'com.google.android.gms:play-services-vision-image-labeling-internal:16.0.5'
implementation 'com.google.android.gms:play-services-vision-image-label:18.0.5'
implementation 'com.google.firebase:firebase-ml-vision-face-model:20.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:22.0.4'

implementation 'androidx.annotation:annotation:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.0.0'
}
Expand Down
13 changes: 11 additions & 2 deletions packages/firebase_ml_vision/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,17 @@ android {
}

dependencies {
api 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
api 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'

implementation platform("com.google.firebase:firebase-bom:25.13.0")
implementation "com.google.firebase:firebase-ml-vision"

implementation 'com.google.android.gms:play-services-vision:20.1.1'
implementation 'com.google.android.gms:play-services-vision-common:19.1.1'
implementation 'com.google.android.gms:play-services-vision-face-contour-internal:16.0.3'
implementation 'com.google.android.gms:play-services-vision-image-labeling-internal:16.0.5'
implementation 'com.google.android.gms:play-services-vision-image-label:18.0.5'
implementation 'com.google.firebase:firebase-ml-vision-face-model:20.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:22.0.4'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
Expand Down

0 comments on commit 024a11c

Please sign in to comment.