diff --git a/.baseline/checkstyle/checkstyle.xml b/.baseline/checkstyle/checkstyle.xml index 1a086c49..fd1fa389 100644 --- a/.baseline/checkstyle/checkstyle.xml +++ b/.baseline/checkstyle/checkstyle.xml @@ -43,7 +43,7 @@ - + @@ -402,7 +402,9 @@ - + + + diff --git a/.baseline/idea/intellij-java-palantir-style.xml b/.baseline/idea/intellij-java-palantir-style.xml index f41e2b8a..6a5f83a6 100644 --- a/.baseline/idea/intellij-java-palantir-style.xml +++ b/.baseline/idea/intellij-java-palantir-style.xml @@ -44,8 +44,10 @@ + + @@ -54,6 +56,7 @@ + diff --git a/build.gradle b/build.gradle index 1bcb2e7d..b4ede8e6 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.10.0' classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.12.0' classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.35.0' - classpath 'com.palantir.baseline:gradle-baseline-java:4.59.0' + classpath 'com.palantir.baseline:gradle-baseline-java:5.18.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.13.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.0.0' classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0' diff --git a/conjure-postman-core/src/main/java/com/palantir/conjure/postman/api/PostmanAuth.java b/conjure-postman-core/src/main/java/com/palantir/conjure/postman/api/PostmanAuth.java index dc211070..512f0471 100644 --- a/conjure-postman-core/src/main/java/com/palantir/conjure/postman/api/PostmanAuth.java +++ b/conjure-postman-core/src/main/java/com/palantir/conjure/postman/api/PostmanAuth.java @@ -46,7 +46,7 @@ default Optional>> bearer() { .put("key", "token") .put("value", AUTH_VARIABLE) .put("type", "string") - .build())); + .buildOrThrow())); } static Builder builder() {