Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadSaadSiddique committed May 17, 2022
1 parent bab5f1e commit 3bcad91
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions .idea/runConfigurations.xml

This file was deleted.

61 changes: 30 additions & 31 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand 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
Expand All @@ -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'

}
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bcad91

Please sign in to comment.