Skip to content

Commit 8c40fe5

Browse files
committed
Add filter for well known types
1 parent dc23d92 commit 8c40fe5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugins/src/main/java/com/google/firebase/gradle/plugins/PostReleasePlugin.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ class PostReleasePlugin : Plugin<Project> {
6363
* @see VersionBumpTask
6464
*/
6565
fun registerVersionBumpTask(project: Project) =
66-
project.tasks.register<VersionBumpTask>("versionBump")
66+
project.tasks.register<VersionBumpTask>("versionBump") {
67+
// TODO(b/285892320): Remove condition when bug fixed
68+
bumpVersion.set(project.firebaseLibrary.artifactId.map {
69+
it !== "protolite-well-known-types"
70+
})
71+
}
6772

6873
/**
6974
* Registers the `moveUnreleasedChanges` task for the provided [Project].

0 commit comments

Comments
 (0)