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
I added docker plugin to my project (I've already have Spotbugs plugin). After that the build fails with the following error:
* What went wrong:
Execution failed for task ':spotbugsMain'.
> Failed to run Gradle SpotBugs Worker
> Could not create an instance of type com.github.spotbugs.internal.spotbugs.SpotBugsExecutor.
> com.google.common.collect.ImmutableList.builderWithExpectedSize(I)Lcom/google/common/collect/ImmutableList$Builder;
Here, it is suggested that I should add Guava dependency to my project. I did that. I still face the same issue after.
plugins {
...
id "com.palantir.docker" version "0.22.1"
id "com.github.spotbugs" version "2.0.0"
...
}
repositories {
mavenCentral()
}
dependencies {
...
compile 'com.google.guava:guava:28.0-jre'
....
}
Any idea?
The text was updated successfully, but these errors were encountered:
pouryas7
changed the title
Could not create an instance of type com.github.spotbugs.internal.spotbugs.SpotBugsExecutor
Build fails due to the incompatibility of the class path for Guava while using Docker and Spotbug together
Aug 26, 2019
I added docker plugin to my project (I've already have Spotbugs plugin). After that the build fails with the following error:
This issue is as same as this one:
spotbugs/spotbugs-gradle-plugin#120
Here, it is suggested that I should add Guava dependency to my project. I did that. I still face the same issue after.
Any idea?
The text was updated successfully, but these errors were encountered: