diff --git a/build.gradle b/build.gradle index caa8ee398..76bda1840 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ buildscript { dependencies { classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0' - classpath 'com.palantir.baseline:gradle-baseline-java:4.96.0' + classpath 'com.palantir.baseline:gradle-baseline-java:4.103.0' classpath 'com.palantir.gradle.conjure:gradle-conjure:5.22.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.9.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0' diff --git a/conjure-core/src/test/java/com/palantir/conjure/parser/KebabCaseEnforcingAnnotationInspectorTest.java b/conjure-core/src/test/java/com/palantir/conjure/parser/KebabCaseEnforcingAnnotationInspectorTest.java index 26f79e633..6a752462e 100644 --- a/conjure-core/src/test/java/com/palantir/conjure/parser/KebabCaseEnforcingAnnotationInspectorTest.java +++ b/conjure-core/src/test/java/com/palantir/conjure/parser/KebabCaseEnforcingAnnotationInspectorTest.java @@ -28,7 +28,7 @@ public final class KebabCaseEnforcingAnnotationInspectorTest { private static final ObjectMapper mapper = ConjureParser.createConjureParserObjectMapper(); - private static final class ValidTarget { + static final class ValidTarget { String fooBar; @JsonProperty("foo-bar") @@ -44,7 +44,7 @@ public void testValidDefinitionsCarryJsonPropertyAnnotationsOnSetters() throws E .isEqualToComparingFieldByField(new ValidTarget().setFooBar("baz")); } - private static final class NoAnnotationInvalidTarget { + static final class NoAnnotationInvalidTarget { String fooBar; void setFooBar(String fooBar) { @@ -60,7 +60,7 @@ public void testSetterWithoutAnnotationIsInvalid() throws Exception { + "@JsonProperty annotations: setFooBar"); } - private static final class NonKebabCaseAnnotationInvalidTarget { + static final class NonKebabCaseAnnotationInvalidTarget { String fooBar; @JsonProperty("fooBar")