-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.1.0 fails to run #9
Comments
Gradle can't download spotbugs plugin, available ony(!) in grdle plugins repository. I assume you attaching plugin with the old syntax like (because otherwise everything would work): buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'ru.vyarus:gradle-quality-plugin:3.1.0'
}
} and you did not specify repositories {
jcenter()
gradlePluginPortal()
} Previous spotbugs plugin version (1.6.1) must be cached locally (or on your nexus) and so you don't have problems with 3.0.0, but new version is required now (1.6.2) for gradle 4.8 compatibility. |
You are correct, we are using the old syntax. It looks like the problem is that we use Artifactory to proxy all of our dependencies and it doesn't look like it supports the new plugin lookup syntax. We have Artifactory configured to look at https://plugins.gradle.org/m2/ but apparently that is no longer good enough. You may want to make a note about this in your release notes, I would not have expected this to happen and it's the first time we've run in to this problem as far as I know. |
This is a little confusing to me, why does version 3.0.0 have a compile dependency on the spot bugs plugin (http://mvnrepository.com/artifact/ru.vyarus/gradle-quality-plugin/3.0.0) but version 3.1.0 doesn't list it (http://mvnrepository.com/artifact/ru.vyarus/gradle-quality-plugin/3.1.0). I'm not getting errors from Gradle saying it can't download the plugin which is what I would expect if I had something configured incorrectly. It looks like the plugin is just assuming Spot Bugs is available even though it doesn't list it as a dependency. |
Mmm thank you! You are right, that is not correct. |
Great, thank you for looking in to it! |
version 3.1.1 released |
Upgrading to version 3.1.0 gives me this error (works fine in version 3.0.0).
The text was updated successfully, but these errors were encountered: