Skip to content

Update ML Kit Android dependencies to latest versions #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions android/android-snippets/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,25 @@ dependencies {
// Cannot fit requested classes in a single dex file
implementation 'androidx.multidex:multidex:2.0.1'

// MLKit related dependencies
// ML Kit related dependencies

// Barcode model
implementation 'com.google.mlkit:barcode-scanning:16.0.0'
implementation 'com.google.mlkit:barcode-scanning:16.0.1'

// Object feature and model
implementation 'com.google.mlkit:object-detection:16.0.0'
implementation 'com.google.mlkit:object-detection:16.1.0'

// Face features
implementation 'com.google.android.gms:play-services-mlkit-face-detection:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-face-detection:16.1.0'

// Text features
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.1.0'

// Image labeling
implementation 'com.google.mlkit:image-labeling:16.0.0'
implementation 'com.google.mlkit:image-labeling:16.1.0'

// Language Identification
implementation 'com.google.mlkit:language-id:16.0.0'
implementation 'com.google.mlkit:language-id:16.1.0'

implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
Expand Down
4 changes: 2 additions & 2 deletions android/automl/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ repositories {
}

dependencies {
// Image labeling with automl model support
implementation 'com.google.mlkit:image-labeling-automl:16.0.0'
// Image labeling with AutoML model support
implementation 'com.google.mlkit:image-labeling-automl:16.1.0'
implementation 'com.google.mlkit:linkfirebase:16.0.0'

// -------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion android/langid/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.mlkit:language-id:16.0.0'

implementation 'com.google.mlkit:language-id:16.1.0'
}

6 changes: 3 additions & 3 deletions android/material-showcase/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72"

// Barcode model
implementation 'com.google.mlkit:barcode-scanning:16.0.0'
implementation 'com.google.mlkit:barcode-scanning:16.0.1'

// Object feature and model
implementation 'com.google.mlkit:object-detection:16.0.0'
implementation 'com.google.mlkit:object-detection:16.1.0'
// Custom model
implementation 'com.google.mlkit:object-detection-custom:16.0.0'
implementation 'com.google.mlkit:object-detection-custom:16.1.0'

api 'com.google.guava:guava:27.1-jre'
}
2 changes: 1 addition & 1 deletion android/smartreply/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'

implementation 'com.google.mlkit:smart-reply:16.0.0'
implementation 'com.google.mlkit:smart-reply:16.1.0'

implementation 'com.google.guava:guava:27.0.1-android'
implementation 'de.hdodenhof:circleimageview:3.0.1'
Expand Down
6 changes: 3 additions & 3 deletions android/translate-showcase/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ dependencies {
implementation "androidx.camera:camera-view:1.0.0-alpha12"

// Add ML Kit dependencies
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.0.0'
implementation 'com.google.mlkit:language-id:16.0.0'
implementation 'com.google.mlkit:translate:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.1.0'
implementation 'com.google.mlkit:language-id:16.1.0'
implementation 'com.google.mlkit:translate:16.1.0'
}
apply plugin: 'com.google.android.gms.strict-version-matcher-plugin'
1 change: 0 additions & 1 deletion android/translate-showcase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ buildscript {
repositories {
google()
jcenter()

}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand Down
2 changes: 1 addition & 1 deletion android/translate/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'com.google.guava:guava:27.1-android'

implementation 'com.google.mlkit:translate:16.0.0'
implementation 'com.google.mlkit:translate:16.1.0'

testImplementation 'junit:junit:4.12'
}
2 changes: 0 additions & 2 deletions android/translate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildscript {
mavenLocal()
google()
jcenter()

}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
Expand All @@ -21,7 +20,6 @@ allprojects {
mavenLocal()
google()
jcenter()

}
}

Expand Down
16 changes: 8 additions & 8 deletions android/vision-quickstart/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72'

// Barcode model
implementation 'com.google.mlkit:barcode-scanning:16.0.0'
implementation 'com.google.mlkit:barcode-scanning:16.0.1'

// Object detection feature with bundled default classifier
implementation 'com.google.mlkit:object-detection:16.0.0'
implementation 'com.google.mlkit:object-detection:16.1.0'

// Object detection feature with custom classifier support
implementation 'com.google.mlkit:object-detection-custom:16.0.0'
implementation 'com.google.mlkit:object-detection-custom:16.1.0'

// Face features
implementation 'com.google.mlkit:face-detection:16.0.0'
implementation 'com.google.mlkit:face-detection:16.0.1'

// Text features
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:16.1.0'

// Image labeling with automl model support
implementation 'com.google.mlkit:image-labeling-automl:16.0.0'
implementation 'com.google.mlkit:image-labeling-automl:16.1.0'

// Image labeling
implementation 'com.google.mlkit:image-labeling:16.0.0'
implementation 'com.google.mlkit:image-labeling:16.1.0'

// Image labeling custom
implementation 'com.google.mlkit:image-labeling-custom:16.0.0'
implementation 'com.google.mlkit:image-labeling-custom:16.1.0'

// -------------------------------------------------------

Expand Down
2 changes: 0 additions & 2 deletions android/vision-quickstart/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildscript {
mavenLocal()
google()
jcenter()

}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
Expand All @@ -22,7 +21,6 @@ allprojects {
mavenLocal()
google()
jcenter()

}
}

Expand Down