Skip to content

Commit

Permalink
chore(deps): update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Apr 13, 2024
1 parent babe2b2 commit bbcd4a6
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 89 deletions.
4 changes: 2 additions & 2 deletions .github/actions/common-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
using: composite
steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
38 changes: 19 additions & 19 deletions .github/workflows/tfc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Stale Jobs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -30,18 +30,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3

assemble:
name: Assembling
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Assemble TFC
run: ./gradlew assembleDebug --no-daemon --scan
- name: Upload compose reports artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: compose-reports
Expand All @@ -72,7 +72,7 @@ jobs:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand All @@ -86,15 +86,15 @@ jobs:
- name: Run detekt
run: ./gradlew detektAll lintDebug --no-daemon
- name: Upload static reports artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: static-report
path: |
build/reports/detekt/detekt.xml
**/build/reports/lint-results-debug.xml
retention-days: 1
- name: Analyze detekt report
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: build/reports/detekt/detekt.sarif
checkout_path: ${{ github.workspace }}
Expand All @@ -104,7 +104,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand All @@ -118,14 +118,14 @@ jobs:
- name: Run unit tests
run: ./gradlew unitTests koverXmlReport koverMergedReport koverMergedVerify --no-daemon --scan
- name: Upload tests reports artifact (success)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: tests-reports
path: build/reports/allTests
retention-days: 7
- name: Upload tests reports artifact (failure)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-reports
Expand All @@ -134,13 +134,13 @@ jobs:
**/build/reports/tests/testDebugUnitTest
retention-days: 7
- name: Upload coverage reports artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-reports
path: '**/build/reports/kover/xml/report.xml'
retention-days: 1
- name: Upload report to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/merged/xml/report.xml
Expand All @@ -153,7 +153,7 @@ jobs:
needs: [ static-analysis, unit-tests ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand All @@ -165,12 +165,12 @@ jobs:
touch app/google-services.json
echo $GOOGLE_SERVICES >> app/google-services.json
- name: Download static report artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: static-report
path: .
- name: Download coverage artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-reports
path: .
Expand All @@ -194,7 +194,7 @@ jobs:
needs: [ assemble, static-analysis, unit-tests ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
needs: [ assemble, static-analysis, unit-tests ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Common Steps
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
environment: production
version: ${{ github.ref }}
- name: Create Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
18 changes: 9 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ buildscript {
maven(url = "https://jitpack.io")
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
classpath("com.google.dagger:hilt-android-gradle-plugin:2.44.2")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.7.10")
classpath("com.google.gms:google-services:4.3.14")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2")
classpath("com.android.tools.build:gradle:8.3.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
classpath("com.google.dagger:hilt-android-gradle-plugin:2.51.1")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.9.23")
classpath("com.google.gms:google-services:4.4.1")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.9")
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.5.0.2730")
}
}

val liba = extensions.getByType<VersionCatalogsExtension>().named("libs")

plugins {
id("org.jetbrains.kotlinx.kover") version "0.6.1"
id("io.gitlab.arturbosch.detekt") version "1.22.0"
id("org.sonarqube") version "3.5.0.2730"
id("org.jetbrains.kotlinx.kover") version "0.7.6"
id("io.gitlab.arturbosch.detekt") version "1.23.6"
id("org.sonarqube") version "5.0.0.4638"
}

val Test.isDev get() = name.contains("debug", ignoreCase = true)
Expand Down
72 changes: 36 additions & 36 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
[versions]
# Plugins
detekt = "1.22.0"
androidGradle = "7.3.1"
detekt = "1.23.6"
androidGradle = "8.3.2"
sonarqube = "3.2.0"
ktlint = "0.47.1"
ktlint = "0.51.0-FINAL"
junit = "4.13.2"
ksp = "1.7.10-1.0.6"
firebaseCrashlyticsPlugin = "2.9.2"
googleServices = "4.3.14"
gmsAuthService = "20.4.0"
ksp = "1.9.23-1.0.20"
firebaseCrashlyticsPlugin = "2.9.9"
googleServices = "4.4.1"
gmsAuthService = "21.0.0"

coverage-engine = "1.0.686"

# production libraries
coreKtx = "1.9.0"
androidxAppCompat = "1.5.1"
lifecycleRuntime = "2.5.1"
coil = "2.2.2"
coreKtx = "1.12.0"
androidxAppCompat = "1.6.1"
lifecycleRuntime = "2.7.0"
coil = "2.6.0"
compose = "1.3.2"
composeAccompanist = "0.28.0"
composeAccompanist = "0.34.0"
androidxComposeBom = "2022.12.00"
androidxComposeCompiler = "1.3.2"
androidxComposeRuntimeTracing = "1.0.0-alpha01"
composeCompiler = "1.3.0"
composeNavigation = "2.5.2"
composeNavigationHilt = "1.0.0"
androidxActivity = "1.6.1"
composeNavigationHilt = "1.2.0"
androidxActivity = "1.8.2"
composePaging = "1.0.0-alpha16"
composeSwipeRefresh = "0.24.0-alpha"
composeMaterial3 = "1.0.0-beta03"
desugar = "1.1.6"
hilt = "2.44.2"
kotlin = "1.7.10"
kotlinCoroutines = "1.6.4"
kotlinSerialization = "1.4.1"
kotlinSerializationConverter = "0.8.0"
kotlinCoroutinePlayServices = "1.6.4"
lifecycle = "2.5.1"

firebaseBoM = "31.1.1"
appCheckDebug = "16.1.0"
desugar = "2.0.4"
hilt = "2.51.1"
kotlin = "1.9.23"
kotlinCoroutines = "1.8.0"
kotlinSerialization = "1.6.3"
kotlinSerializationConverter = "1.0.0"
kotlinCoroutinePlayServices = "1.8.0"
lifecycle = "2.7.0"

firebaseBoM = "32.8.1"
appCheckDebug = "17.1.2"

# test libraries
testJunit = "5.9.0"
testMockk = "1.13.2"
testMockk = "1.13.10"
testTurbine = "0.9.0"
testKotest = "5.4.2"

# android test libraries
testAndroidRunner = "1.5.1"
testAndroidRunner = "1.5.2"
androidxTestCore = "1.5.0"
androidxTestExt = "1.1.4"
androidxTestRunner = "1.5.1"
androidxTestExt = "1.1.5"
androidxTestRunner = "1.5.2"
androidxTestRules = "1.5.0"
androidxUiAutomator = "2.2.0"
androidxEspresso = "3.5.0"
androidxUiAutomator = "2.3.0"
androidxEspresso = "3.5.1"



Expand Down Expand Up @@ -93,10 +93,10 @@ compose-material = { group = "androidx.compose.material", name = "material" }
compose-material3 = { group = "androidx.compose.material3", name = "material3" }
compose-material3-windowSizeClass = { group = "androidx.compose.material3", name = "material3-window-size-class" }
compose-runtime = { group = "androidx.compose.runtime", name = "runtime" }
compose-paging3 = { module = "androidx.paging:paging-compose", version = "1.0.0-alpha17" }
compose-navigation = { module = "androidx.navigation:navigation-compose", version = "2.5.3" }
compose-paging3 = { module = "androidx.paging:paging-compose", version = "3.2.1" }
compose-navigation = { module = "androidx.navigation:navigation-compose", version = "2.7.7" }
compose-navigationHilt = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "composeNavigationHilt" }
lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version = "2.5.1" }
lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version = "2.7.0" }
compose-runtime-livedata = { group = "androidx.compose.runtime", name = "runtime-livedata" }
compose-runtime-tracing = { group = "androidx.compose.runtime", name = "runtime-tracing", version.ref = "androidxComposeRuntimeTracing" }
compose-ui-test = { group = "androidx.compose.ui", name = "ui-test-junit4" }
Expand Down Expand Up @@ -127,7 +127,7 @@ firebase-appCheckDebug = { module = "com.google.firebase:firebase-appcheck-debug
# test libraries
test-junit = { module = "junit:junit", version.ref = "junit" }
test-kotlin = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
test-kotest = { module = "io.kotest:kotest-assertions-core", version = "5.5.4" }
test-kotest = { module = "io.kotest:kotest-assertions-core", version = "5.8.1" }
androidx-test-core = { group = "androidx.test", name = "core", version.ref = "androidxTestCore" }
androidx-test-ext = { group = "androidx.test.ext", name = "junit-ktx", version.ref = "androidxTestExt" }
androidx-test-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "androidxEspresso" }
Expand All @@ -149,7 +149,7 @@ ktlint = { module = "com.pinterest:ktlint", version.ref = "ktlint" }

# Detekt
detekt-compose = { module = "com.twitter.compose.rules:detekt", version = "0.0.26" }
detekt-compose2 = { module = "ru.kode:detekt-rules-compose", version = "1.2.2" }
detekt-compose2 = { module = "ru.kode:detekt-rules-compose", version = "1.3.0" }
detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
gradle-hilt = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt" }
gradle-detekt = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" }
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit bbcd4a6

Please sign in to comment.