11apply plugin : ' com.android.library'
22
33android {
4- compileSdkVersion 29
5- buildToolsVersion " 29 .0.2"
4+ compileSdkVersion 31
5+ buildToolsVersion " 30 .0.2"
66
77
88 defaultConfig {
9- minSdkVersion 14
10- targetSdkVersion 29
9+ minSdkVersion 19
10+ targetSdkVersion 31
1111 versionCode 1
1212 versionName " 1.0"
13+ multiDexEnabled true
1314 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
14-
1515 // filter in the api credentials before building but without changing original source
1616 // files - to make sure the credentials are not checked into source control.
1717 // The url is taken from a property or environment variable:
@@ -25,6 +25,11 @@ android {
2525 consumerProguardFiles ' proguard-rules.pro'
2626 }
2727 }
28+
29+ compileOptions {
30+ sourceCompatibility JavaVersion . VERSION_1_8
31+ targetCompatibility JavaVersion . VERSION_1_8
32+ }
2833}
2934
3035task verifyCloudinaryCredentials {
@@ -43,24 +48,24 @@ tasks.matching { it.name.startsWith("connected") || it.name.startsWith("test")}.
4348dependencies {
4449 api " com.cloudinary:cloudinary-core:${ cloudinaryLibsVersion} "
4550
46- implementation ' androidx.core:core:1.2 .0'
47- implementation ' androidx.appcompat:appcompat:1.1 .0'
51+ implementation ' androidx.core:core:1.6 .0'
52+ implementation ' androidx.appcompat:appcompat:1.3 .0'
4853 implementation ' androidx.legacy:legacy-support-v4:1.0.0'
49- implementation ' com.google.android.material:material:1.1 .0'
54+ implementation ' com.google.android.material:material:1.4 .0'
5055 implementation(' com.evernote:android-job:1.4.2' , {
5156 exclude group : ' com.android.support' , module : ' support-compat'
5257 })
5358
54- testImplementation ' androidx.test.ext:junit:1.1.1 '
59+ testImplementation ' androidx.test.ext:junit:1.1.3 '
5560 testImplementation " com.cloudinary:cloudinary-test-common:${ cloudinaryLibsVersion} "
56- androidTestImplementation ' org.awaitility:awaitility:3.0.0 '
57- androidTestImplementation(' androidx.test.espresso:espresso-core:3.1 .0' , {
61+ androidTestImplementation ' org.awaitility:awaitility:3.1.6 '
62+ androidTestImplementation(' androidx.test.espresso:espresso-core:3.4 .0' , {
5863 exclude group : ' com.android.support' , module : ' support-annotations'
5964 })
60- androidTestImplementation ' androidx.annotation:annotation:1.1 .0'
61- androidTestImplementation ' androidx.test:runner:1.2 .0'
62- androidTestImplementation ' androidx.test:rules:1.2 .0'
63- androidTestImplementation " org.hamcrest:hamcrest-library:1.3 "
65+ androidTestImplementation ' androidx.annotation:annotation:1.2 .0'
66+ androidTestImplementation ' androidx.test:runner:1.4 .0'
67+ androidTestImplementation ' androidx.test:rules:1.4 .0'
68+ androidTestImplementation " org.hamcrest:hamcrest-library:2.2 "
6469}
6570
6671ext {
0 commit comments