diff --git a/RepositoryPattern-Starter/app/build.gradle b/RepositoryPattern-Starter/app/build.gradle index 898f336ae..cfb18dbb5 100755 --- a/RepositoryPattern-Starter/app/build.gradle +++ b/RepositoryPattern-Starter/app/build.gradle @@ -21,11 +21,11 @@ apply plugin: "androidx.navigation.safeargs" apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 32 + compileSdkVersion 33 defaultConfig { applicationId "com.example.android.devbyteviewer" minSdkVersion 19 - targetSdkVersion 32 + targetSdkVersion 33 versionCode 1 versionName "1.0" vectorDrawables.useSupportLibrary = true @@ -49,22 +49,22 @@ android { kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + namespace 'com.example.android.devbyteviewer' } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // support libraries - implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.material:material:1.5.0' + implementation 'com.google.android.material:material:1.7.0' // Android KTX - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.9.0' // constraint layout - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // navigation def nav_version = "1.0.0" @@ -72,7 +72,7 @@ dependencies { implementation "android.arch.navigation:navigation-ui-ktx:$nav_version" // coroutines for getting off the UI thread - def coroutines = "1.6.0" + def coroutines = "1.6.4" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines" @@ -92,20 +92,20 @@ dependencies { // arch components // ViewModel and LiveData - def lifecycle_version = "2.4.1" -// implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" + def lifecycle_version = "2.5.1" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" // logging implementation 'com.jakewharton.timber:timber:4.7.1' // glide for images - implementation 'com.github.bumptech.glide:glide:4.8.0' + implementation 'com.github.bumptech.glide:glide:4.14.2' kapt 'com.github.bumptech.glide:compiler:4.7.1' // Room dependency - def room_version = "2.4.1" + def room_version = "2.4.3" implementation "androidx.room:room-runtime:$room_version" kapt "androidx.room:room-compiler:$room_version" } + diff --git a/RepositoryPattern-Starter/build.gradle b/RepositoryPattern-Starter/build.gradle index 3626251f1..ca177f0ec 100755 --- a/RepositoryPattern-Starter/build.gradle +++ b/RepositoryPattern-Starter/build.gradle @@ -17,15 +17,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.20' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.1' + classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.4.1" + classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -42,3 +42,4 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir } +