Bump com.squareup.wire:wire-compiler from 4.7.0 to 4.7.2 (#5550)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
This commit is contained in:
dependabot[bot] 2023-06-21 16:32:13 -05:00 committed by GitHub
parent c119554526
commit 93eac2538c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -39,8 +39,8 @@ dependencies {
// Needed for japicmp but not automatically brought in for some reason.
implementation("com.google.guava:guava:32.0.1-jre")
implementation("com.squareup:javapoet:1.13.0")
implementation("com.squareup.wire:wire-compiler:4.7.0")
implementation("com.squareup.wire:wire-gradle-plugin:4.7.0")
implementation("com.squareup.wire:wire-compiler:4.7.2")
implementation("com.squareup.wire:wire-gradle-plugin:4.7.2")
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.0")
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.1")

View File

@ -99,7 +99,10 @@ class ProtoFieldsWireHandler : SchemaHandler() {
fun get(schema: Schema): JavaGenerator {
val nameToJavaName = linkedMapOf<ProtoType, TypeName>()
for (protoFile in schema.protoFiles) {
val javaPackage = javaPackage(protoFile)
if (protoFile.location.path == "wire/extensions.proto") {
continue
}
val javaPackage = javaPackage(protoFile)
putAll(nameToJavaName, javaPackage, null, protoFile.types)
}