diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml index 6576f9cc..1247f4aa 100644 --- a/.github/workflows/verify-build.yml +++ b/.github/workflows/verify-build.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Lint Check run: ./gradlew lint - name: Upload Lint Report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: lint-results path: app/build/reports/lint-results-debug.html @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run tests run: ./gradlew test - name: Upload test report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: unit_test_report path: app/build/reports/tests/testDebugUnitTest/ @@ -63,10 +63,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 11 @@ -81,10 +81,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 11 @@ -92,7 +92,7 @@ jobs: run: ./gradlew assembleDebug --stacktrace - name: Upload APK - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: expense-manager.apk path: app/build/outputs/apk/debug/app-debug.apk \ No newline at end of file diff --git a/core/permission-manager/build.gradle.kts b/core/permission-manager/build.gradle.kts index 5231bbcb..adf95e07 100644 --- a/core/permission-manager/build.gradle.kts +++ b/core/permission-manager/build.gradle.kts @@ -8,5 +8,5 @@ android { } dependencies { - api("com.google.accompanist:accompanist-permissions:0.26.2-beta") + api("com.google.accompanist:accompanist-permissions:0.36.0") } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 75d3d86d..e1cbf7ff 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,13 +1,13 @@ [versions] kotlin = "1.9.22" kotlin-coroutines = "1.7.3" -ktor = "2.3.5" +ktor = "3.0.0" # https://developer.android.com/jetpack/androidx/releases/compose-kotlin compose-compiler = "1.5.8" # It's used! Use compatible with Kotlin one -glance = "1.0.0-alpha05" +glance = "1.1.1" room = "2.6.1" -detekt = "1.23.1" # https://detekt.dev/docs/gettingstarted/gradle/ -composeDestinations = "1.9.57" +detekt = "1.23.7" # https://detekt.dev/docs/gettingstarted/gradle/ +composeDestinations = "1.11.7" # Android minSdk = "26" @@ -18,13 +18,13 @@ version-name = "1.0.0" jvmTarget = "11" # when modifying make sure to update all usage of `JavaVersion.VERSION_11` [libraries] -android-gradle-plugin = { module = "com.android.tools.build:gradle", version = "7.4.0" } +android-gradle-plugin = { module = "com.android.tools.build:gradle", version = "8.7.1" } #AndroidX androidx-appShortcut = { module = "androidx.core:core-google-shortcuts", version = "1.1.0" } androidx-splashScreen = { module = "androidx.core:core-splashscreen", version = "1.0.1" } -androidx-profilerInstaller = { module = "androidx.profileinstaller:profileinstaller", version = "1.3.0" } -androidx-benchmark = { module = "androidx.benchmark:benchmark-macro-junit4", version = "1.2.0-alpha13" } +androidx-profilerInstaller = { module = "androidx.profileinstaller:profileinstaller", version = "1.4.1" } +androidx-benchmark = { module = "androidx.benchmark:benchmark-macro-junit4", version = "1.3.3" } # Kotlin kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } @@ -46,19 +46,19 @@ ktor-client-serialization = { module = "io.ktor:ktor-client-serialization", vers ktor-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" } # Testing -test-mockk = { module = "io.mockk:mockk", version = "1.13.8" } +test-mockk = { module = "io.mockk:mockk", version = "1.13.13" } test-kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlin-coroutines" } test-kotlin = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" } test-junit = { module = "junit:junit", version = "4.13.2" } -test-turbine = { module = "app.cash.turbine:turbine", version = "0.12.3" } -test-orbit-mvi = { module = "org.orbit-mvi:orbit-test", version = "4.3.0" } +test-turbine = { module = "app.cash.turbine:turbine", version = "1.2.0" } +test-orbit-mvi = { module = "org.orbit-mvi:orbit-test", version = "9.0.0" } -uitest-junit-ext = { module = "androidx.test.ext:junit", version = "1.1.5" } -uitest-espresso-core = { module = "androidx.test.espresso:espresso-core", version = "3.5.1" } -uitest-ui-atomator = { module = "androidx.test.uiautomator:uiautomator", version = "2.2.0" } +uitest-junit-ext = { module = "androidx.test.ext:junit", version = "1.2.1" } +uitest-espresso-core = { module = "androidx.test.espresso:espresso-core", version = "3.6.1" } +uitest-ui-atomator = { module = "androidx.test.uiautomator:uiautomator", version = "2.3.0" } # Compose -compose-bom = { module = "androidx.compose:compose-bom", version = "2023.01.00" } +compose-bom = { module = "androidx.compose:compose-bom", version = "2024.10.00" } compose-animation = { module = "androidx.compose.animation:animation" } compose-foundation = { module = "androidx.compose.foundation:foundation" } compose-material3 = { module = "androidx.compose.material3:material3" } @@ -68,14 +68,14 @@ compose-ui = { module = "androidx.compose.ui:ui" } compose-activity = { module = "androidx.activity:activity-compose" } compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling" } -compose-coil = { module = "io.coil-kt:coil-compose", version = "2.5.0" } +compose-coil = { module = "io.coil-kt:coil-compose", version = "2.7.0" } compose-destinations = { module = "io.github.raamcosta.compose-destinations:animations-core", version.ref = "composeDestinations" } compose-destinations-ksp = { module = "io.github.raamcosta.compose-destinations:ksp", version.ref = "composeDestinations" } -compose-datepicker = { module = "io.github.vanpra.compose-material-dialogs:datetime", version = "0.8.1-rc" } -compose-fontawesome = { module = "com.github.pseudoankit:ComposeFontAwesomeLibrary", version = "v1.2.0" } +compose-datepicker = { module = "io.github.vanpra.compose-material-dialogs:datetime", version = "0.9.0" } +compose-fontawesome = { module = "com.github.pseudoankit:ComposeFontAwesomeLibrary", version = "1.2.0" } compose-swipe = { module = "com.github.pseudoankit:SwipeableView", version = "1.0.1" } -compose-placeholder = { module = "com.google.accompanist:accompanist-placeholder-material", version = "0.26.3-beta" } -compose-orbit-mvi = { module = "org.orbit-mvi:orbit-compose", version = "4.5.0" } +compose-placeholder = { module = "com.google.accompanist:accompanist-placeholder-material", version = "0.36.0" } +compose-orbit-mvi = { module = "org.orbit-mvi:orbit-compose", version = "9.0.0" } # Koin koin-core = { module = "io.insert-koin:koin-core" } @@ -88,7 +88,7 @@ glance-appwidget = { module = "androidx.glance:glance-appwidget", version.ref = glance-material3 = { module = "androidx.glance:glance-material3", version.ref = "glance" } # Local persistence -datastore = { module = "androidx.datastore:datastore-preferences", version = "1.1.0-beta02" } +datastore = { module = "androidx.datastore:datastore-preferences", version = "1.1.1" } room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" } room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } @@ -97,12 +97,12 @@ room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } detekt-gradle-plugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" } detekt-ruleset-compiler = { module = "com.braisgabin.detekt:kotlin-compiler-wrapper", version = "0.0.4" } detekt-ruleset-ktlint = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" } -detekt-ruleset-compose = { module = "io.nlopez.compose.rules:detekt", version = "0.3.0" } -slack-lint-compose = { module = "com.slack.lint.compose:compose-lint-checks", version = "1.3.1" } -sonarQube-gradle-plugin = { module = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin", version = "2.7.1" } +detekt-ruleset-compose = { module = "io.nlopez.compose.rules:detekt", version = "0.4.16" } +slack-lint-compose = { module = "com.slack.lint.compose:compose-lint-checks", version = "1.4.2" } +sonarQube-gradle-plugin = { module = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin", version = "5.1.0.4882" } # Dev Tools -leakCanary = { module = "com.squareup.leakcanary:leakcanary-android", version = "2.9.1" } +leakCanary = { module = "com.squareup.leakcanary:leakcanary-android", version = "2.14" } [bundles] kotlin = [ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b0938807..72a9c2b8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Fri Mar 10 08:46:43 IST 2023 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME