I am working on a Linux network with out internet access and am stuck with flat directories for repositories and I am having a problem with the spotbugs plug in, I am getting the following error while using gradle 5.5:
- What went wrong:
A problem occurred evaluating root project ‘testing’.
plugin with id ‘com.github.com.spotbugs’
I have the following in my build.gradle file:
…
buildscript {
repositories {
flatDir {
dirs '/libs/spotbugs/3.1.12/
}
}
dependencies {
classpath ‘com.github.spotbugs:spotbugs-gradle-plugin:3.0.0’
}
}
apply plugin: ‘com.github.spotbugs’
…
I have look at the output of --info, --debug and --stacktrace which did not help at all.
Any help would be appreciated.
Thanks