Skip to content

Commit db10ee8

Browse files
authored
chore(*): allow alpha and beta updates for Firebase libraries (#549)
Also blocking guava and glide updates to match quickstart-android
1 parent 3cddb09 commit db10ee8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

build.gradle.kts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,21 @@ fun isBlockListed(candidate: ModuleComponentIdentifier): Boolean {
3131
"androidx.browser:browser",
3232
"com.facebook.android:facebook-android-sdk",
3333
"com.applovin:applovin-sdk",
34-
"com.ironsource.sdk:mediationsdk"
34+
"com.ironsource.sdk:mediationsdk",
35+
"com.google.guava",
36+
"com.github.bumptech.glide"
3537
).any { keyword ->
3638
keyword in candidate.toString().lowercase()
3739
}
3840
}
3941

42+
fun notFromFirebase(candidate: ModuleComponentIdentifier): Boolean {
43+
return candidate.group != "com.google.firebase"
44+
}
45+
4046
tasks.withType<DependencyUpdatesTask> {
4147
rejectVersionIf {
42-
isNonStable(candidate) || isBlockListed(candidate)
48+
(isNonStable(candidate) && notFromFirebase(candidate)) || isBlockListed(candidate)
4349
}
4450
}
4551

0 commit comments

Comments
 (0)