Update Gradle and dependencies
This commit is contained in:
@@ -37,17 +37,17 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
def nav_version = "2.5.3"
|
||||
def paging_version = "3.1.1"
|
||||
def nav_version = "2.7.7"
|
||||
def paging_version = "3.2.1"
|
||||
def fragment_version = "1.5.6"
|
||||
def preference_version = "1.2.0"
|
||||
def room_version = "2.5.1"
|
||||
def preference_version = "1.2.1"
|
||||
def room_version = "2.6.1"
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.10.0'
|
||||
implementation 'androidx.core:core-ktx:1.12.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||
implementation 'com.google.android.material:material:1.8.0'
|
||||
implementation 'com.google.android.material:material:1.11.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
|
||||
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
||||
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
||||
implementation 'com.squareup.moshi:moshi:1.14.0'
|
||||
implementation 'com.squareup.moshi:moshi-kotlin:1.14.0'
|
||||
@@ -56,11 +56,11 @@ dependencies {
|
||||
implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'
|
||||
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
||||
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
||||
implementation "androidx.paging:paging-runtime:$paging_version"
|
||||
implementation "androidx.paging:paging-runtime-ktx:$paging_version"
|
||||
implementation "androidx.fragment:fragment-ktx:$fragment_version"
|
||||
implementation "androidx.preference:preference-ktx:$preference_version"
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
implementation 'io.coil-kt:coil:2.3.0'
|
||||
implementation 'io.coil-kt:coil:2.6.0'
|
||||
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
|
@@ -161,7 +161,7 @@ class RepositoryListFragment(
|
||||
|
||||
inner class SortListener : AdapterView.OnItemSelectedListener {
|
||||
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
|
||||
search = search.copy(sort = SortCriteria.values()[position])
|
||||
search = search.copy(sort = SortCriteria.entries[position])
|
||||
}
|
||||
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
id 'com.android.application' version '7.4.2' apply false
|
||||
id 'com.android.library' version '7.4.2' apply false
|
||||
id 'com.android.application' version '8.2.2' apply false
|
||||
id 'com.android.library' version '8.2.2' apply false
|
||||
id 'org.jetbrains.kotlin.android' version '1.9.20' apply false
|
||||
id 'com.google.devtools.ksp' version '1.9.20-1.0.14' apply false
|
||||
}
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
#Fri Mar 03 13:38:35 CET 2023
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
Reference in New Issue
Block a user