Skip to content

Commit 9306449

Browse files
committed
Add metadatasources to tests/buildscript
Hopefully this fixes the failing buildSrc tests.
1 parent 6560151 commit 9306449

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ buildscript {
2525
}
2626
maven {
2727
url 'https://storage.googleapis.com/android-ci/mvn/'
28+
metadataSources {
29+
artifact()
30+
}
2831
}
2932

3033
}

buildSrc/src/test/kotlin/com/google/firebase/gradle/plugins/PublishingPluginTests.kt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ licenses {
338338
jcenter()
339339
maven {
340340
url 'https://storage.googleapis.com/android-ci/mvn/'
341+
metadataSources {
342+
artifact()
343+
}
341344
}
342345
}
343346
}
@@ -346,13 +349,16 @@ licenses {
346349
}
347350
348351
configure(subprojects) {
349-
repositories {
350-
google()
351-
jcenter()
352-
maven {
353-
url 'https://storage.googleapis.com/android-ci/mvn/'
354-
}
355-
}
352+
repositories {
353+
google()
354+
jcenter()
355+
maven {
356+
url 'https://storage.googleapis.com/android-ci/mvn/'
357+
metadataSources {
358+
artifact()
359+
}
360+
}
361+
}
356362
}
357363
"""
358364
private const val MANIFEST = """<?xml version="1.0" encoding="utf-8"?>

0 commit comments

Comments
 (0)