Skip to content

Commit 70b873d

Browse files
committed
Fix test deps.
1 parent 5d8ab3a commit 70b873d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/VendorPlugin.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ class VendorPlugin : Plugin<Project> {
4949
fun configureAndroid(project: Project) {
5050

5151
val vendor = project.configurations.create("vendor")
52-
project.configurations.named("compileOnly") {
53-
extendsFrom(vendor)
52+
project.configurations.all {
53+
when (name) {
54+
"compileOnly", "testImplementation", "androidTestImplementation" -> extendsFrom(vendor)
55+
}
5456
}
5557

5658
val jarJar = project.configurations.create("firebaseJarJarArtifact")

0 commit comments

Comments
 (0)