Skip to content

Commit

Permalink
Dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
profiluefter committed May 24, 2021
1 parent c9607e5 commit 220a58c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.activity:activity-ktx:1.2.2'
implementation 'androidx.fragment:fragment-ktx:1.3.2'
implementation 'androidx.core:core-ktx:1.5.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.activity:activity-ktx:1.2.3'
implementation 'androidx.fragment:fragment-ktx:1.3.4'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
Expand All @@ -56,7 +56,7 @@ dependencies {
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
implementation 'androidx.hilt:hilt-navigation-fragment:1.0.0-beta01'
implementation 'androidx.hilt:hilt-navigation-fragment:1.0.0'

implementation project(":data-lib")
implementation 'androidx.annotation:annotation:1.2.0'
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.32"
ext.hilt_version = '2.35'
ext.kotlin_version = '1.5.10'
ext.hilt_version = '2.35.1'
ext.room_version = '2.3.0'
ext.nav_version = "2.3.5"
ext.okhttp_version = "4.9.1"
ext.retrofit_version = "2.9.0"

repositories {
google()
Expand Down
14 changes: 7 additions & 7 deletions data-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ dependencies {

// Kotlin + Coroutines
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'

// Retrofit
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
api 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
api "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
api 'com.google.code.gson:gson:2.8.6'

// Room
Expand All @@ -61,5 +61,5 @@ dependencies {
kapt "androidx.room:room-compiler:$room_version"

// Notifications
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.core:core-ktx:1.5.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ interface TodoDao {
suspend fun nuke()
}

@Database(entities = [RawTodoList::class, RawTodo::class], version = 1)
@Database(entities = [RawTodoList::class, RawTodo::class], version = 1, exportSchema = false)
abstract class NotesDatabase : RoomDatabase() {
abstract fun todoDao(): TodoDao
abstract fun listDao(): ListDao
Expand Down

0 comments on commit 220a58c

Please sign in to comment.