Skip to content

Commit a894dac

Browse files
committed
Disabled publishJavadoc by default for tests
It should be enabled explicitly when being tested anyhow, and causes issues otherwise. Instead of disabling it for the tests that don't need it- this is much quicker and easier to manager.
1 parent 6090e6d commit a894dac

File tree

1 file changed

+2
-0
lines changed
  • buildSrc/src/test/kotlin/com/google/firebase/gradle/plugins

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ data class Project(
2929
val externalDependencies: Set<Artifact> = setOf(),
3030
val releaseWith: Project? = null,
3131
val customizePom: String? = null,
32+
val publishJavadoc: Boolean = false,
3233
val libraryType: LibraryType = LibraryType.ANDROID
3334
) {
3435
fun generateBuildFile(): String {
@@ -42,6 +43,7 @@ data class Project(
4243
firebaseLibrary {
4344
${if (releaseWith != null) "releaseWith project(':${releaseWith.name}')" else ""}
4445
${if (customizePom != null) "customizePom {$customizePom}" else ""}
46+
${"publishJavadoc = $publishJavadoc"}
4547
}
4648
${if (libraryType == LibraryType.ANDROID) "android.compileSdkVersion = 26" else ""}
4749

0 commit comments

Comments
 (0)