diff --git a/app/build.gradle b/app/build.gradle index a41ee99..5c807bb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,6 @@ android { versionCode project.versionCode versionName project.versionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - multiDexEnabled true } buildTypes { release { @@ -30,7 +29,6 @@ android { dependencies { implementation "androidx.fragment:fragment:$fragmentVersion" - implementation "androidx.multidex:multidex:$project.multidexVersion" implementation "androidx.appcompat:appcompat:$project.appCompatVersion" implementation "androidx.constraintlayout:constraintlayout:$project.constraintLayoutVersion" implementation "com.google.android.material:material:$project.materialVersion" @@ -45,10 +43,10 @@ dependencies { kapt "com.github.bumptech.glide:compiler:$project.glideVersion" // Dagger - kapt "com.google.dagger:dagger-compiler:2.42" - kapt "com.google.dagger:dagger-android-processor:2.42" - implementation "com.google.dagger:dagger:2.42" - implementation "com.google.dagger:dagger-android-support:2.42" + kapt "com.google.dagger:dagger-compiler:2.50" + kapt "com.google.dagger:dagger-android-processor:2.50" + implementation "com.google.dagger:dagger:2.50" + implementation "com.google.dagger:dagger-android-support:2.50" // RxJava implementation 'io.reactivex.rxjava2:rxjava:2.2.8' diff --git a/app/src/main/java/com/payu/android/front/sdk/demo/DemoApplication.kt b/app/src/main/java/com/payu/android/front/sdk/demo/DemoApplication.kt index 530a320..361bf6b 100644 --- a/app/src/main/java/com/payu/android/front/sdk/demo/DemoApplication.kt +++ b/app/src/main/java/com/payu/android/front/sdk/demo/DemoApplication.kt @@ -1,6 +1,6 @@ package com.payu.android.front.sdk.demo -import androidx.multidex.MultiDexApplication +import android.app.Application import com.payu.android.front.sdk.demo.di.AppComponent import com.payu.android.front.sdk.demo.di.DaggerAppComponent import dagger.android.AndroidInjector @@ -8,7 +8,7 @@ import dagger.android.DispatchingAndroidInjector import dagger.android.HasAndroidInjector import javax.inject.Inject -class DemoApplication: MultiDexApplication(), HasAndroidInjector { +class DemoApplication: Application(), HasAndroidInjector { @Inject lateinit var androidInjector: DispatchingAndroidInjector diff --git a/build.gradle b/build.gradle index 939471e..c55c054 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.7.20' + ext.kotlin_version = '1.7.22' repositories { mavenCentral() @@ -12,7 +12,7 @@ buildscript { classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.33.1" + classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.33.12" } } @@ -35,8 +35,7 @@ tasks.register("version") { project.ext { //libraries - multidexVersion = "2.0.1" - guavaVersion = "32.1.3-android" + guavaVersion = "33.0.0-android" appCompatVersion = "1.5.1" recyclerViewVersion = "1.2.1" annotationVersion = "1.1.0" @@ -44,7 +43,7 @@ project.ext { espressoVersion = "3.1.0" constraintLayoutVersion = "2.1.4" robolectricVersion = "4.9" - glideVersion = "4.13.2" + glideVersion = "4.16.0" architectureComponentsCoreVersion = "2.0.0" lifecycleComponentVersion = "2.4.1" gsonVersion = "2.8.6" @@ -71,7 +70,7 @@ project.ext { //android configuration compileSdkVersion = 33 targetSdkVersion = 33 - minSdkVersion = 19 + minSdkVersion = 21 versionCode = 6 versionName = "1.0.26" groupId = "com.payu.android.front.sdk"