[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge "Update kotlin and gradle versions"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengji Yan authored and Gerrit Code Review committed Jan 11, 2024
2 parents db1c727 + 087081b commit ef99306
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions android/langid/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 31
compileSdkVersion 34
defaultConfig {
applicationId "com.google.mlkit.samples.nl.languageid"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 34
versionCode 1
versionName "1.0"
setProperty("archivesBaseName", "nl-langid")
Expand All @@ -30,14 +29,17 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
disable "Instantiatable"
}
}

dependencies {
implementation project(':internal:chooserx')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.android.material:material:1.2.1'

implementation 'com.google.mlkit:language-id:17.0.4'
implementation 'com.google.mlkit:language-id:17.0.5'
// Or comment the dependency above and uncomment the dependency below to
// use unbundled model that depends on Google Play Services
// implementation 'com.google.android.gms:play-services-mlkit-language-id:17.0.0'
Expand Down
4 changes: 2 additions & 2 deletions android/langid/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.4.21'
ext.kotlin_version = '1.9.0'

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down

0 comments on commit ef99306

Please sign in to comment.