diff --git a/build.gradle b/build.gradle index 0f04b8c18..6bc1cc20a 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0' classpath 'com.palantir.gradle.conjure:gradle-conjure:5.31.0' classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.27.0' - classpath 'com.palantir.baseline:gradle-baseline-java:4.181.0' + classpath 'com.palantir.baseline:gradle-baseline-java:4.182.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.11.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0' classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0' diff --git a/conjure-java-core/build.gradle b/conjure-java-core/build.gradle index 26e2b9c37..e2c7e6472 100644 --- a/conjure-java-core/build.gradle +++ b/conjure-java-core/build.gradle @@ -58,6 +58,7 @@ dependencies { implementation 'com.palantir.common:streams' implementation 'com.palantir.goethe:goethe' implementation 'com.palantir.safe-logging:logger' + implementation 'com.palantir.safe-logging:preconditions' implementation 'com.palantir.human-readable-types:human-readable-types' testImplementation sourceSets.integrationInput.output diff --git a/conjure-java-core/src/main/java/com/palantir/conjure/java/services/UndertowTypeFunctions.java b/conjure-java-core/src/main/java/com/palantir/conjure/java/services/UndertowTypeFunctions.java index 72c17768a..4853de9d9 100644 --- a/conjure-java-core/src/main/java/com/palantir/conjure/java/services/UndertowTypeFunctions.java +++ b/conjure-java-core/src/main/java/com/palantir/conjure/java/services/UndertowTypeFunctions.java @@ -16,12 +16,12 @@ package com.palantir.conjure.java.services; -import com.google.common.base.Preconditions; import com.google.common.util.concurrent.ListenableFuture; import com.palantir.conjure.java.Options; import com.palantir.conjure.java.types.TypeMapper; import com.palantir.conjure.spec.EndpointDefinition; import com.palantir.humanreadabletypes.HumanReadableDuration; +import com.palantir.logsafe.Preconditions; import com.palantir.logsafe.SafeArg; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.ParameterizedTypeName;