Skip to content

Commit eff1c7d

Browse files
committed
Replace hardcoded android.annotation declarations with catalog
1 parent a5c5bea commit eff1c7d

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

encoders/firebase-encoders-processor/firebase-encoders-processor.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ configurations.testImplementation.resolutionStrategy {
4444
}
4545

4646
dependencies {
47-
implementation 'androidx.annotation:annotation:1.1.0'
47+
implementation libs.androidx.annotation
4848
}
4949

5050
test {

encoders/firebase-encoders-proto/firebase-encoders-proto.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ plugins {
1919

2020
firebaseLibrary {
2121
publishJavadoc = false
22-
releaseNotes {
22+
releaseNotes {
2323
enabled.set(false)
2424
}
2525
}
@@ -39,7 +39,7 @@ protobuf {
3939
dependencies {
4040
api 'com.google.firebase:firebase-encoders:17.0.0'
4141

42-
implementation 'androidx.annotation:annotation:1.1.0'
42+
implementation libs.androidx.annotation
4343

4444
annotationProcessor project(':encoders:firebase-encoders-processor')
4545

firebase-ml-modeldownloader/firebase-ml-modeldownloader.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ dependencies {
100100
api("com.google.firebase:firebase-installations:17.2.0")
101101
api 'com.google.firebase:firebase-installations-interop:17.1.0'
102102

103-
implementation 'androidx.annotation:annotation:1.1.0'
103+
implementation libs.androidx.annotation
104104
implementation 'com.google.android.datatransport:transport-api:3.0.0'
105105
implementation 'com.google.android.datatransport:transport-runtime:3.1.8'
106106
implementation 'com.google.auto.service:auto-service-annotations:1.0.1'

firebase-perf/dev-app/dev-app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dependencies {
9797
}
9898

9999
// Google Deps
100-
implementation 'androidx.annotation:annotation:1.4.0'
100+
implementation libs.androidx.annotation
101101
implementation 'androidx.multidex:multidex:2.0.1'
102102
implementation 'com.google.android.gms:play-services-tasks:18.0.2'
103103
implementation 'androidx.appcompat:appcompat:1.4.2'

firebase-perf/e2e-app/e2e-app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ dependencies {
8787
// Google Deps
8888
implementation "com.google.android.gms:play-services-tasks:18.0.1"
8989
implementation "com.google.guava:guava:30.1.1-android"
90-
implementation 'androidx.annotation:annotation:1.1.0'
90+
implementation libs.androidx.annotation
9191
implementation 'androidx.multidex:multidex:2.0.1'
9292
implementation "androidx.recyclerview:recyclerview:1.1.0"
9393
implementation 'androidx.appcompat:appcompat:1.4.0'

transport/transport-backend-cct/transport-backend-cct.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
firebaseLibrary{
2121
libraryGroup = "transport"
2222
publishJavadoc = false
23-
releaseNotes {
23+
releaseNotes {
2424
enabled.set(false)
2525
}
2626
}
@@ -41,7 +41,7 @@ protobuf {
4141
}
4242

4343
android {
44-
namespace "com.google.android.datatransport.backend.cct"
44+
namespace "com.google.android.datatransport.backend.cct"
4545
compileSdkVersion project.compileSdkVersion
4646
defaultConfig {
4747
minSdkVersion project.minSdkVersion
@@ -62,7 +62,7 @@ dependencies {
6262
api 'com.google.firebase:firebase-encoders:17.0.0'
6363
api 'com.google.firebase:firebase-encoders-json:18.0.0'
6464

65-
implementation 'androidx.annotation:annotation:1.1.0'
65+
implementation libs.androidx.annotation
6666

6767
compileOnly "com.google.auto.value:auto-value-annotations:1.6.6"
6868

transport/transport-runtime-testing/transport-runtime-testing.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
}
1919

2020
android {
21-
namespace "com.google.android.datatransport.runtime.testing"
21+
namespace "com.google.android.datatransport.runtime.testing"
2222
compileSdkVersion project.compileSdkVersion
2323
defaultConfig {
2424
minSdkVersion project.minSdkVersion
@@ -35,7 +35,7 @@ android {
3535
}
3636

3737
dependencies {
38-
implementation 'androidx.annotation:annotation:1.3.0'
38+
implementation libs.androidx.annotation
3939
implementation 'com.google.android.datatransport:transport-api:3.0.0'
4040
implementation 'com.google.android.datatransport:transport-backend-cct:3.1.8'
4141
implementation 'com.google.android.datatransport:transport-runtime:3.1.8'

transport/transport-runtime/transport-runtime.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protobuf {
5252
firebaseLibrary {
5353
libraryGroup = "transport"
5454
publishJavadoc = false
55-
releaseNotes {
55+
releaseNotes {
5656
enabled.set(false)
5757
}
5858
testLab {
@@ -106,10 +106,10 @@ dependencies {
106106
}
107107

108108
api "com.google.android.datatransport:transport-api:4.0.0"
109-
api 'com.google.firebase:firebase-encoders:17.0.0'
110-
api "com.google.firebase:firebase-encoders-proto:16.0.0"
109+
api project(":encoders:firebase-encoders")
110+
api project(":encoders:firebase-encoders-proto")
111111

112-
implementation 'androidx.annotation:annotation:1.3.0'
112+
implementation libs.androidx.annotation
113113
implementation libs.javax.inject
114114

115115
compileOnly "com.google.auto.value:auto-value-annotations:1.6.6"

0 commit comments

Comments
 (0)