Skip to content

Commit bf97d93

Browse files
committed
remove duplicated dependencies
+ minor refactoring Signed-off-by: Marcel Hibbe <[email protected]>
1 parent 61854b7 commit bf97d93

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

app/build.gradle

+5-16
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ configurations.configureEach {
181181
dependencies {
182182
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
183183
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.9'
184+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.7")
184185

185186
implementation("androidx.compose.runtime:runtime:1.7.6")
186187
implementation 'androidx.preference:preference-ktx:1.2.1'
187188
implementation 'androidx.datastore:datastore-core:1.1.2'
188189
implementation 'androidx.datastore:datastore-preferences:1.1.2'
189190
implementation 'androidx.test.ext:junit-ktx:1.2.1'
190-
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.7")
191191

192192
implementation fileTree(include: ['*'], dir: 'libs')
193193

@@ -222,6 +222,7 @@ dependencies {
222222
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${lifecycleVersion}"
223223
implementation "androidx.lifecycle:lifecycle-process:${lifecycleVersion}"
224224
implementation "androidx.lifecycle:lifecycle-common:${lifecycleVersion}"
225+
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:${lifecycleVersion}")
225226

226227
implementation 'androidx.biometric:biometric:1.1.0'
227228

@@ -240,14 +241,15 @@ dependencies {
240241

241242
implementation "com.squareup.retrofit2:retrofit:${retrofit2Version}"
242243
implementation "com.squareup.retrofit2:adapter-rxjava2:${retrofit2Version}"
244+
implementation "com.squareup.retrofit2:converter-gson:${retrofit2Version}"
243245
implementation 'de.mannodermaus.retrofit2:converter-logansquare:1.4.1'
244246

245247
implementation "com.google.dagger:dagger:${daggerVersion}"
246248
kapt "com.google.dagger:dagger-compiler:${daggerVersion}"
247249
implementation 'com.github.lukaspili.autodagger2:autodagger2:1.1'
248250
kapt 'com.github.lukaspili.autodagger2:autodagger2-compiler:1.1'
249251
compileOnly 'javax.annotation:javax.annotation-api:1.3.2'
250-
// Android only
252+
251253
implementation 'org.greenrobot:eventbus:3.3.1'
252254
implementation 'net.zetetic:android-database-sqlcipher:4.5.4'
253255

@@ -267,6 +269,7 @@ dependencies {
267269
implementation "io.coil-kt:coil:${coilKtVersion}"
268270
implementation "io.coil-kt:coil-gif:${coilKtVersion}"
269271
implementation "io.coil-kt:coil-svg:${coilKtVersion}"
272+
implementation "io.coil-kt:coil-compose:${coilKtVersion}"
270273
implementation 'com.github.natario1:Autocomplete:1.1.0'
271274

272275
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido:${fidoVersion}"
@@ -278,7 +281,6 @@ dependencies {
278281
implementation "com.afollestad.material-dialogs:lifecycle:${materialDialogsVersion}"
279282

280283
implementation 'com.google.code.gson:gson:2.11.0'
281-
implementation 'com.squareup.retrofit2:converter-gson:2.11.0'
282284

283285
implementation "androidx.media3:media3-exoplayer:$media3_version"
284286
implementation "androidx.media3:media3-ui:$media3_version"
@@ -312,7 +314,6 @@ dependencies {
312314
implementation 'androidx.compose.material3:material3:1.3.1'
313315
implementation("androidx.compose.ui:ui-tooling-preview")
314316
implementation 'androidx.activity:activity-compose:1.9.3'
315-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
316317
debugImplementation("androidx.compose.ui:ui-tooling")
317318

318319
//tests
@@ -341,19 +342,7 @@ dependencies {
341342

342343
androidTestImplementation('com.android.support.test.espresso:espresso-intents:3.0.2')
343344

344-
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
345-
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.9'
346-
347-
implementation 'androidx.activity:activity-ktx:1.9.3'
348-
349-
implementation 'com.github.nextcloud.android-common:ui:0.23.2'
350-
351-
implementation 'com.github.nextcloud-deps:android-talk-webrtc:121.6167.0'
352-
implementation("io.coil-kt:coil-compose:2.7.0")
353-
354-
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
355345
androidTestImplementation(platform("androidx.compose:compose-bom:2025.01.00"))
356-
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
357346
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
358347
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
359348

0 commit comments

Comments
 (0)