File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
lite/examples/image_classification/android_play_services Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ android {
2828 // ImageClassificationHelper class uses android.util.Size(), which is
2929 // available from SDK 21.
3030 minSdkVersion 21
31- targetSdkVersion 31
31+ targetSdkVersion 33
3232 versionCode 1
3333 versionName " 0.0.1"
3434
@@ -44,6 +44,7 @@ android {
4444 compileOptions {
4545 sourceCompatibility rootProject. ext. java_version
4646 targetCompatibility rootProject. ext. java_version
47+ coreLibraryDesugaringEnabled true
4748 }
4849
4950 kotlinOptions {
@@ -117,6 +118,8 @@ dependencies {
117118 androidTestImplementation ' com.google.truth:truth:1.1.3'
118119 androidTestImplementation ' com.google.android.gms:play-services-tasks:18.0.1'
119120
121+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.1.3'
122+
120123}
121124
122125// Download default models; if you wish to use your own models then
Original file line number Diff line number Diff line change 2020 -->
2121 <uses-sdk
2222 android : minSdkVersion =" 21"
23- android : targetSdkVersion =" 31 " />
23+ android : targetSdkVersion =" 33 " />
2424</manifest >
Original file line number Diff line number Diff line change 2020 -->
2121 <uses-sdk
2222 android : minSdkVersion =" 21"
23- android : targetSdkVersion =" 31 " />
23+ android : targetSdkVersion =" 33 " />
2424</manifest >
Original file line number Diff line number Diff line change 2020 -->
2121 <uses-sdk
2222 android : minSdkVersion =" 21"
23- android : targetSdkVersion =" 31 " />
23+ android : targetSdkVersion =" 33 " />
2424 <!-- Declare features -->
2525 <uses-feature android : name =" android.hardware.camera" />
2626
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ buildscript {
1818
1919 ext {
2020 // Top-level variables used for versioning
21- ext. kotlin_version = ' 1.8.20 '
21+ ext. kotlin_version = ' 2.1.0 '
2222 ext. java_version = JavaVersion . VERSION_1_8
2323 }
2424
@@ -28,7 +28,7 @@ buildscript {
2828 }
2929
3030 dependencies {
31- classpath ' com.android.tools.build:gradle:8.1.1 '
31+ classpath ' com.android.tools.build:gradle:8.2.0 '
3232 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
3333 classpath ' com.diffplug.spotless:spotless-plugin-gradle:5.11.1'
3434 classpath ' de.undercouch:gradle-download-task:5.5.0'
You can’t perform that action at this time.
0 commit comments