From 9255da4686b0e266de3dec6063c0352a7d8bd2d4 Mon Sep 17 00:00:00 2001 From: MichaelVerdon Date: Wed, 13 Nov 2024 09:46:48 +0000 Subject: [PATCH] Dependency upgrade via using toml file --- firebase-perf/firebase-perf.gradle | 31 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/firebase-perf/firebase-perf.gradle b/firebase-perf/firebase-perf.gradle index ed92d34d4a1..703c1f22d55 100644 --- a/firebase-perf/firebase-perf.gradle +++ b/firebase-perf/firebase-perf.gradle @@ -99,44 +99,43 @@ android { } dependencies { - annotationProcessor 'com.google.dagger:dagger-compiler:2.27' + annotationProcessor libs.dagger.compiler compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6' - implementation "androidx.annotation:annotation:1.1.0" + implementation libs.androidx.annotation implementation "androidx.lifecycle:lifecycle-process:2.3.1" - implementation "com.google.android.gms:play-services-tasks:18.0.1" + implementation libs.playservices.tasks implementation libs.protobuf.java.lite implementation libs.kotlin.stdlib - implementation 'androidx.annotation:annotation:1.7.0' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.datatransport:transport-api:3.0.0' - implementation 'com.google.dagger:dagger:2.27' + implementation libs.dagger.dagger api 'com.google.firebase:firebase-annotations:16.2.0' api 'com.google.firebase:firebase-installations-interop:17.1.0' api 'com.google.firebase:protolite-well-known-types:18.0.0' - implementation 'com.squareup.okhttp3:okhttp:3.12.1' + implementation libs.okhttp api("com.google.firebase:firebase-common:21.0.0") api("com.google.firebase:firebase-common-ktx:21.0.0") api("com.google.firebase:firebase-components:18.0.0") api("com.google.firebase:firebase-config:21.5.0") api("com.google.firebase:firebase-installations:17.2.0") api("com.google.firebase:firebase-sessions:2.0.0") { - exclude group: 'com.google.firebase', module: 'firebase-common' - exclude group: 'com.google.firebase', module: 'firebase-common-ktx' - exclude group: 'com.google.firebase', module: 'firebase-components' - } + exclude group: 'com.google.firebase', module: 'firebase-common' + exclude group: 'com.google.firebase', module: 'firebase-common-ktx' + exclude group: 'com.google.firebase', module: 'firebase-components' + } javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6' javadocClasspath libs.findbugs.jsr305 runtimeOnly("com.google.firebase:firebase-datatransport:18.1.8") { - exclude group: 'com.google.firebase', module: 'firebase-common' - exclude group: 'com.google.firebase', module: 'firebase-components' - } + exclude group: 'com.google.firebase', module: 'firebase-common' + exclude group: 'com.google.firebase', module: 'firebase-components' + } testCompileOnly libs.protobuf.java testImplementation libs.androidx.test.core testImplementation libs.truth testImplementation libs.robolectric - testImplementation 'androidx.test:rules:1.2.0' - testImplementation 'junit:junit:4.12' + testImplementation libs.androidx.test.rules + testImplementation libs.junit testImplementation libs.mockito.core testImplementation 'org.mockito:mockito-inline:5.2.0' testImplementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6' -} +} \ No newline at end of file