You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.jfrog.buildinfo:build-info-extractor-gradle:3.0.1 depends on guava 10.0.1 com.android.tools.build:gradle.0.14.0 depends on guava 17.0
This leads to a problem in BuildInfoExtractorUtils.mergePropertiesWithSystemAndPropertyFile() because guavas com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable) isn't found in guava 17.0 resulting in an error while building on Jenkins:
Caused by: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
at org.jfrog.build.extractor.BuildInfoExtractorUtils.mergePropertiesWithSystemAndPropertyFile(BuildInfoExtractorUtils.java:79)
at org.jfrog.gradle.plugin.artifactory.extractor.GradleArtifactoryClientConfigUpdater.update(GradleArtifactoryClientConfigUpdater.java:64)
The funny thing is, that the source code of BuildInfoExtractorUtils indicates that the parameter is a FileInputStream and therefore shouldn't be causing the error.
Hi,
org.jfrog.buildinfo:build-info-extractor-gradle:3.0.1
depends on guava 10.0.1com.android.tools.build:gradle.0.14.0
depends on guava 17.0This leads to a problem in
BuildInfoExtractorUtils.mergePropertiesWithSystemAndPropertyFile()
because guavascom.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable)
isn't found in guava 17.0 resulting in an error while building on Jenkins:The funny thing is, that the source code of BuildInfoExtractorUtils indicates that the parameter is a FileInputStream and therefore shouldn't be causing the error.
Similar issue: https://issues.jenkins-ci.org/browse/JENKINS-23794
The intermediate workaround is to force guava:15.0 as dependency conflict resolution:
The text was updated successfully, but these errors were encountered: