@@ -4,6 +4,7 @@ import com.github.spotbugs.snom.SpotBugsTask
44plugins {
55 id(" com.android.application" )
66 id(" com.github.spotbugs" )
7+ id(" org.jetbrains.kotlin.android" )
78}
89
910spotbugs {
@@ -62,8 +63,8 @@ android {
6263 // Flag to enable support for the new language APIs
6364 isCoreLibraryDesugaringEnabled = true
6465
65- sourceCompatibility = JavaVersion .VERSION_11
66- targetCompatibility = JavaVersion .VERSION_11
66+ sourceCompatibility = JavaVersion .VERSION_17
67+ targetCompatibility = JavaVersion .VERSION_17
6768 }
6869
6970 sourceSets {
@@ -84,25 +85,27 @@ android {
8485 lint {
8586 lintConfig = file(" lint.xml" )
8687 }
88+ kotlinOptions {
89+ jvmTarget = " 17"
90+ }
8791}
8892
8993dependencies {
9094
9195 // AndroidX
9296 implementation(" androidx.appcompat:appcompat:1.7.0" )
9397 implementation(" androidx.constraintlayout:constraintlayout:2.1.4" )
98+ implementation(" androidx.core:core-ktx:1.13.1" )
99+ implementation(" androidx.core:core-splashscreen:1.0.1" )
94100 implementation(" androidx.exifinterface:exifinterface:1.3.7" )
95101 implementation(" androidx.palette:palette:1.0.0" )
96102 implementation(" androidx.preference:preference:1.2.1" )
97103 implementation(" com.google.android.material:material:1.12.0" )
98- implementation(" com.github.yalantis:ucrop:2.2.9" )
99104 coreLibraryDesugaring(" com.android.tools:desugar_jdk_libs:2.1.2" )
100105
101- // Splash Screen
102- implementation(" androidx.core:core-splashscreen:1.0.1" )
103-
104106 // Third-party
105107 implementation(" com.journeyapps:zxing-android-embedded:4.3.0@aar" )
108+ implementation(" com.github.yalantis:ucrop:2.2.9" )
106109 implementation(" com.google.zxing:core:3.5.3" )
107110 implementation(" org.apache.commons:commons-csv:1.9.0" )
108111 implementation(" com.jaredrummler:colorpicker:1.1.0" )
0 commit comments