diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 61a9130..fb7f4a8 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 5cd135a..a2d7c21 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,7 +4,7 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index d5d35ec..860da66 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index e497da9..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index a8028b7..c546901 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,12 +8,12 @@ apply plugin: 'kotlin-kapt' android { - compileSdkVersion 29 + compileSdkVersion 32 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.android.myapplication.movies" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 32 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -41,8 +41,8 @@ android { enabled = true } compileOptions { - sourceCompatibility = '1.8' - targetCompatibility = '1.8' + sourceCompatibility = "11" + targetCompatibility = "11" } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { @@ -54,28 +54,28 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.core:core-ktx:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.20' + implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.constraintlayout:constraintlayout:2.1.3' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test.ext:junit:1.1.1' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' // -- Retrofit2 - implementation 'com.squareup.retrofit2:retrofit:2.6.1' - implementation 'com.squareup.retrofit2:converter-gson:2.6.0' - implementation 'com.google.code.gson:gson:2.8.5' + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + implementation 'com.squareup.retrofit2:converter-gson:2.9.0' + implementation 'com.google.code.gson:gson:2.8.9' - //koin + //koinx1 implementation "org.koin:koin-core:2.0.1" implementation "org.koin:koin-android:2.0.1" implementation "org.koin:koin-androidx-viewmodel:2.0.1" // -- Lifecycle Components (ViewModel, LiveData and ReactiveStreams) - def lifecycle_version = "2.2.0-alpha03" - implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version" + def lifecycle_version = '2.5.0-rc01' + implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1" kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version" //ViewPager2 @@ -86,36 +86,35 @@ dependencies { implementation "androidx.cardview:cardview:$cardview_version" //Material Design Components - def material_version = '1.2.0-alpha02' - implementation "com.google.android.material:material:$material_version" + implementation "com.google.android.material:material:1.7.0-alpha01" // Recyclerview - def recyclerview_version = "1.1.0-beta03" - implementation "androidx.recyclerview:recyclerview:$recyclerview_version" + implementation "androidx.recyclerview:recyclerview:1.2.1" //glide - def glide_version = "4.9.0" - implementation "com.github.bumptech.glide:glide:$glide_version" - annotationProcessor "com.github.bumptech.glide:compiler:$glide_version" + implementation "com.github.bumptech.glide:glide:4.13.1" + annotationProcessor "com.github.bumptech.glide:compiler:4.13.1" // Glide RecyclerView Preloader - implementation ("com.github.bumptech.glide:recyclerview-integration:$glide_version") { + implementation ("com.github.bumptech.glide:recyclerview-integration:4.13.1") { // Excludes the support library because it's already included by Glide. transitive = false } // Circle ImageView - implementation 'de.hdodenhof:circleimageview:2.2.0' + implementation 'de.hdodenhof:circleimageview:3.1.0' //Preferences - implementation "androidx.preference:preference-ktx:1.0.0" + implementation "androidx.preference:preference-ktx:1.2.0" // -- Room - def room_version = "2.1.0" - implementation "androidx.room:room-runtime:$room_version" + def room_version = '2.4.2' + implementation "androidx.room:room-runtime:2.4.2" kapt "androidx.room:room-compiler:$room_version" // Kotlin Extensions and Coroutines support for Room - implementation "androidx.room:room-ktx:$room_version" + implementation "androidx.room:room-ktx:2.4.2" // OkHttp - implementation 'com.squareup.okhttp3:logging-interceptor:3.13.1' + implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.6' + implementation 'com.github.MuhammadSaadSiddique:TmdbMovies:1.0.0' + } diff --git a/build.gradle b/build.gradle index e506ebe..e06039a 100644 --- a/build.gradle +++ b/build.gradle @@ -5,10 +5,11 @@ buildscript { repositories { google() jcenter() - + mavenCentral() + maven { url "https://jitpack.io" } } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' + classpath 'com.android.tools.build:gradle:3.5.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong