From 220a58c809c216079991ab8e2b65759880d348a8 Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 25 May 2021 00:05:46 +0200 Subject: [PATCH] Dependency updates --- app/build.gradle | 10 +++++----- build.gradle | 6 ++++-- data-lib/build.gradle | 14 +++++++------- .../profinote/data/local/NotesDatabase.kt | 2 +- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index caf5b0c..066dbc0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' @@ -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' diff --git a/build.gradle b/build.gradle index 69a092a..40358f2 100644 --- a/build.gradle +++ b/build.gradle @@ -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() diff --git a/data-lib/build.gradle b/data-lib/build.gradle index db409fe..bdc8c51 100644 --- a/data-lib/build.gradle +++ b/data-lib/build.gradle @@ -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 @@ -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' } \ No newline at end of file diff --git a/data-lib/src/main/java/me/profiluefter/profinote/data/local/NotesDatabase.kt b/data-lib/src/main/java/me/profiluefter/profinote/data/local/NotesDatabase.kt index 68eda7e..bb0f113 100644 --- a/data-lib/src/main/java/me/profiluefter/profinote/data/local/NotesDatabase.kt +++ b/data-lib/src/main/java/me/profiluefter/profinote/data/local/NotesDatabase.kt @@ -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