Skip to content

Commit

Permalink
chore(deps): bump all gradle dependencies and fix spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Garg committed Jun 10, 2023
1 parent b51da0b commit f1cc104
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import qbittorrent.QBittorrentClient

interface ClientManager {
val configStatus: SharedFlow<ConfigStatus>

suspend fun checkAndGetClient(): QBittorrentClient?

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class AddTorrentDialog : DialogFragment() {

companion object {
fun newInstance(): AddTorrentDialog = AddTorrentDialog()

const val TAG = "AddTorrentDialogFragment"
const val ADD_TORRENT_KEY = "add_torrent"
const val ADD_TORRENT_FILE_KEY = "add_torrent_file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class RemoveTorrentDialog : DialogFragment() {

companion object {
fun newInstance(): RemoveTorrentDialog = RemoveTorrentDialog()

const val TAG = "RemoveTorrentDialogFragment"
const val REMOVE_TORRENT_KEY = "remove_torrent"
const val TORRENT_KEY = "torrent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class RenameTorrentDialog : DialogFragment() {

companion object {
fun newInstance(): RenameTorrentDialog = RenameTorrentDialog()

const val TAG = "RenameTorrentDialogFragment"
const val TORRENT_NAME_KEY = "torrent_name"
const val RENAME_TORRENT_KEY = "rename_torrent"
Expand Down
1 change: 1 addition & 0 deletions benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ android {
targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
missingDimensionStrategy("app", "nonFree", "free")
}

compileOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ internal abstract class DataSync<T>(

abstract val endpointUrl: String
abstract val nestedObjectKeys: List<String>

open fun HttpRequestBuilder.configureRequest() = Unit

private val serializer = serializer(requireNotNull(typeInfo.kotlinType))
Expand All @@ -41,6 +42,7 @@ internal abstract class DataSync<T>(
set(value) {
atomicSyncRid.value = value
}

private val syncLoopJob =
syncScope.launch {
while (true) {
Expand Down
42 changes: 21 additions & 21 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[versions]
axCore = "1.10.0"
axCore = "1.10.1"
axAppcompat = "1.6.1"
axActivity = "1.7.1"
axActivity = "1.7.2"
axConstraintlayout = "2.1.4"
axDatastore = "1.0.0"
axNavigation = "2.5.3"
axNavigation = "2.6.0"
axTest = "1.4.0"
axWork = "2.8.1"
coroutines = "1.7.0"
coroutines = "1.7.1"
googleMaterial = "1.9.0"
agp = "8.1.0-beta02"
agp = "8.2.0-alpha07"
espresso = "3.5.1"
hilt = "2.45"
hilt = "2.46.1"
axHilt = "1.0.0"
ktor = "2.3.0"
ktor = "2.3.1"
lifecycle = "2.6.1"
kotlin = "1.8.20"
kotlin = "1.8.22"
binary_compat = "0.13.1"
mockito = "5.3.1"
room = "2.5.1"
spotless = "6.18.0"
spotless = "6.19.0"
uiautomator = "2.2.0"
serialization = "1.5.0"
serialization = "1.5.1"

[libraries]
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "axCore" }
androidx-activity = { module = "androidx.activity:activity-ktx", version.ref = "axActivity" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "axAppcompat" }
androidx-benchmark-junit = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha14"
androidx-benchmark-junit = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha15"
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "axConstraintlayout" }
androidx-datastore = { module = "androidx.datastore:datastore-preferences", version.ref = "axDatastore" }
androidx-swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
Expand All @@ -53,12 +53,12 @@ build-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.r
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
coroutines-jdk8 = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8", version.ref = "coroutines" }
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
coroutines-turbine = { module = "app.cash.turbine:turbine", version = "0.12.3" }
coroutines-turbine = { module = "app.cash.turbine:turbine", version = "0.13.0" }

compose-activity = "androidx.activity:activity-compose:1.7.1"
compose-compiler = "androidx.compose.compiler:compiler:1.4.6"
compose-activity = "androidx.activity:activity-compose:1.7.2"
compose-compiler = "androidx.compose.compiler:compiler:1.4.7"
compose-foundation = "androidx.compose.foundation:foundation:1.4.3"
compose-material3 = "androidx.compose.material3:material3:1.0.1"
compose-material3 = "androidx.compose.material3:material3:1.1.0"
compose-material-icons = "org.jetbrains.compose.material:material-icons-extended-desktop:1.4.0"
compose-theme-adapter = "com.google.accompanist:accompanist-themeadapter-material3:0.30.1"

Expand All @@ -75,15 +75,15 @@ ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "kto
ktor-client-contentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
ktor-serialization = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }

tools-leakcanary = "com.squareup.leakcanary:leakcanary-android:2.10"
tools-cascade = "me.saket.cascade:cascade:1.3.0"
tools-kotlin-result = "com.michael-bull.kotlin-result:kotlin-result:1.1.17"
tools-lottie = "com.airbnb.android:lottie:6.0.0"
tools-leakcanary = "com.squareup.leakcanary:leakcanary-android:2.11"
tools-cascade = "me.saket.cascade:cascade:2.0.0"
tools-kotlin-result = "com.michael-bull.kotlin-result:kotlin-result:1.1.18"
tools-lottie = "com.airbnb.android:lottie:6.0.1"
tools-whatthestack = "com.github.haroldadmin:WhatTheStack:1.0.0-alpha04"

junit = "junit:junit:4.13.2"
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
mockito-kotlin = "org.mockito.kotlin:mockito-kotlin:4.1.0"
mockito-kotlin = "org.mockito.kotlin:mockito-kotlin:5.0.0"

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
Expand All @@ -97,7 +97,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
navigation-safeargs = { id = "androidx.navigation.safeargs", version.ref = "axNavigation" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
sentry = "io.sentry.android.gradle:3.7.0"
sentry = "io.sentry.android.gradle:3.10.0"

[bundles]
compose = ["compose-theme-adapter", "compose-activity", "compose-foundation", "compose-material3"]
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencyResolutionManagement {
}
}

plugins { id("com.gradle.enterprise") version "3.13.1" }
plugins { id("com.gradle.enterprise") version "3.13.3" }

gradleEnterprise {
buildScan {
Expand Down

0 comments on commit f1cc104

Please sign in to comment.