Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update dependencies #37

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ val dependencyVersions = hashMapOf<String, String>()
rootProject.extra["versions"] = dependencyVersions

val DEPENDENCY_BOMS = listOf(
"com.fasterxml.jackson:jackson-bom:2.16.1",
"com.google.guava:guava-bom:33.0.0-jre",
"com.fasterxml.jackson:jackson-bom:2.18.0",
"com.google.guava:guava-bom:33.3.1-jre",
"com.google.protobuf:protobuf-bom:${System.getenv("PROTOBUF_VERSION").orEmpty().ifEmpty { "4.28.2" }}",
"org.junit:junit-bom:5.10.1",
"org.junit:junit-bom:5.11.1",
)

val DEPENDENCY_SETS = listOf(
Expand All @@ -23,11 +23,11 @@ val DEPENDENCY_SETS = listOf(
)

val DEPENDENCIES = listOf(
"com.google.code.findbugs:annotations:3.0.1u2",
"com.google.code.findbugs:annotations:3.0.1",
"com.google.code.findbugs:jsr305:3.0.2",
"com.uber.nullaway:nullaway:0.11.3",
"net.bytebuddy:byte-buddy:1.14.4",
"org.assertj:assertj-core:3.24.2",
"net.bytebuddy:byte-buddy:1.15.3",
"org.assertj:assertj-core:3.26.3",
)

javaPlatform {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.40.0"
id("org.curioswitch.gradle-protobuf-plugin") version "0.4.0"
id("com.github.ben-manes.versions") version "0.51.0"
id("org.curioswitch.gradle-protobuf-plugin") version "0.5.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public void doMerge(JsonParser parser, int currentDepth, Message.Builder message
Struct.Builder builder = (Struct.Builder) messageBuilder;
while (parser.nextValue() != JsonToken.END_OBJECT) {
builder.putFields(
parser.getCurrentName(), ValueMarshaller.INSTANCE.readValue(parser, currentDepth + 1));
parser.currentName(), ValueMarshaller.INSTANCE.readValue(parser, currentDepth + 1));
}
}

Expand Down Expand Up @@ -476,7 +476,7 @@ public void doMerge(JsonParser parser, int currentDepth, Message.Builder message
return;
}
Any.Builder builder = (Any.Builder) messageBuilder;
if (!parser.getCurrentName().equals("@type")) {
if (!parser.currentName().equals("@type")) {
throw new InvalidProtocolBufferException(
"MessageMarshaller requires @type to must be the "
+ "first field of an Any. If you need to support @type in any location, use "
Expand All @@ -488,7 +488,7 @@ public void doMerge(JsonParser parser, int currentDepth, Message.Builder message
builder.setTypeUrl(typeUrl);
if (contentMarshaller instanceof WellKnownTypeMarshaller) {
parser.nextValue();
if (parser.getCurrentName().equals("value")) {
if (parser.currentName().equals("value")) {
builder.setValue(contentMarshaller.readValue(parser, currentDepth).toByteString());
}
// Well-known types will not finish parsing the current object (they don't readValue
Expand Down
Loading