diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index b6a1d19f..14cb1958 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -41,4 +41,4 @@ jobs: run: ./gradlew :app:koverXmlReport --warning-mode all --stacktrace - name: Upload Test Report - uses: codecov/codecov-action@v4.0.0 + uses: codecov/codecov-action@v4.0.1 diff --git a/build.gradle.kts b/build.gradle.kts index 4b2f2388..5fa0831c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,8 +7,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("org.jetbrains.kotlinx.kover") version "0.7.3" apply false - id("com.diffplug.spotless") version "6.22.0" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false + id("com.diffplug.spotless") version "6.25.0" apply false } buildscript { @@ -19,11 +19,11 @@ buildscript { maven(url = "https://oss.sonatype.org/content/repositories/snapshots") } dependencies { - classpath("com.android.tools.build:gradle:8.1.3") + classpath("com.android.tools.build:gradle:8.2.2") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") - classpath("com.diffplug.spotless:spotless-plugin-gradle:6.22.0") - classpath("dev.drewhamilton.poko:poko-gradle-plugin:0.15.0") - classpath("com.github.ben-manes:gradle-versions-plugin:0.46.0") + classpath("com.diffplug.spotless:spotless-plugin-gradle:6.25.0") + classpath("dev.drewhamilton.poko:poko-gradle-plugin:0.15.2") + classpath("com.github.ben-manes:gradle-versions-plugin:0.51.0") } } diff --git a/buildSrc/gradle/wrapper/gradle-wrapper.properties b/buildSrc/gradle/wrapper/gradle-wrapper.properties index 3fa8f862..a80b22ce 100644 --- a/buildSrc/gradle/wrapper/gradle-wrapper.properties +++ b/buildSrc/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/buildSrc/src/main/kotlin/deps.kt b/buildSrc/src/main/kotlin/deps.kt index f31e5cc5..9de59781 100644 --- a/buildSrc/src/main/kotlin/deps.kt +++ b/buildSrc/src/main/kotlin/deps.kt @@ -7,7 +7,7 @@ import org.gradle.plugin.use.PluginDependenciesSpec import org.gradle.plugin.use.PluginDependencySpec const val ktlintVersion = "1.0.0" -const val kotlinVersion = "1.9.20" +const val kotlinVersion = "1.9.22" object appConfig { const val applicationId = "com.hoc.flowmvi" @@ -31,12 +31,12 @@ object deps { const val constraintLayout = "androidx.constraintlayout:constraintlayout:2.1.4" const val recyclerView = "androidx.recyclerview:recyclerview:1.3.2" const val swipeRefreshLayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01" - const val material = "com.google.android.material:material:1.10.0" + const val material = "com.google.android.material:material:1.11.0" const val startup = "androidx.startup:startup-runtime:1.1.1" } object lifecycle { - private const val version = "2.6.2" + private const val version = "2.7.0" const val viewModelKtx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version" // viewModelScope const val runtimeKtx = "androidx.lifecycle:lifecycle-runtime-ktx:$version" // lifecycleScope @@ -47,12 +47,12 @@ object deps { const val retrofit = "com.squareup.retrofit2:retrofit:2.9.0" const val converterMoshi = "com.squareup.retrofit2:converter-moshi:2.9.0" const val loggingInterceptor = "com.squareup.okhttp3:logging-interceptor:4.12.0" - const val moshiKotlin = "com.squareup.moshi:moshi-kotlin:1.15.0" - const val leakCanary = "com.squareup.leakcanary:leakcanary-android:2.12" + const val moshiKotlin = "com.squareup.moshi:moshi-kotlin:1.15.1" + const val leakCanary = "com.squareup.leakcanary:leakcanary-android:2.13" } object coroutines { - private const val version = "1.7.3" + private const val version = "1.8.0" const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version" const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version" @@ -60,7 +60,7 @@ object deps { } object koin { - private const val version = "3.5.0" + private const val version = "3.5.3" const val core = "io.insert-koin:koin-core:$version" const val android = "io.insert-koin:koin-android:$version" @@ -90,7 +90,7 @@ object deps { } } - const val mockk = "io.mockk:mockk:1.13.8" + const val mockk = "io.mockk:mockk:1.13.9" const val kotlinJUnit = "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3fa8f862..a80b22ce 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME