Updated gradle (SdkVersion 34),

replaced deprecated 'buildDir',
added (now required) 'buildConfig true',
forced a specific version of Kotlin (to avoid the build error "Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.22.jar [..]")
This commit is contained in:
Olga Miller 2024-08-14 20:00:09 +02:00
parent 88823b2787
commit 18fda14c97
3 changed files with 18 additions and 8 deletions

View file

@ -1,11 +1,11 @@
apply plugin: 'com.android.application'
android {
compileSdk 33
compileSdk 34
defaultConfig {
applicationId "om.sstvencoder"
minSdkVersion 21
targetSdkVersion 33
minSdk 21
targetSdk 34
versionCode 31
versionName "2.10"
}
@ -16,10 +16,13 @@ android {
}
}
namespace 'om.sstvencoder'
buildFeatures {
buildConfig true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "androidx.exifinterface:exifinterface:1.3.6"
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation "androidx.exifinterface:exifinterface:1.3.7"
}