Comments (6)
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 gradlePluginPortal()
as repository. Just add it and everything will work:
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.
from gradle-quality-plugin.
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.
from gradle-quality-plugin.
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.
from gradle-quality-plugin.
Mmm thank you! You are right, that is not correct.
Pom in plugin portal is different and everything works with new plugins syntax (and so I didn't noted this problem). I will definitely fix that.
from gradle-quality-plugin.
Great, thank you for looking in to it!
from gradle-quality-plugin.
version 3.1.1 released
from gradle-quality-plugin.
Related Issues (20)
- Setting Spotbugs exclusion breaks cache HOT 1
- Configuring Spotbugs ReportLevel HOT 7
- Security vulnerability in dom4j HOT 1
- Failure with Gradle 6 HOT 5
- gradle 6: quality plugin breaks build because FindBugs has been removed HOT 2
- Support for Kotlin gradle DSL ? HOT 3
- 4.0.0: Failed to run Gradle SpotBugs Worker HOT 2
- plugin breaks gradle integration in IntelliJ IDEA 2020.1 EAP HOT 3
- build error with: Fatal error during transformation HOT 1
- 4.2.1 seems to break CodeNarc HOT 7
- Combining quality plugin with testsets plugin and build dashboard HOT 6
- Feature request: dependency checks for vulnerabilities HOT 1
- SpotBugs support is broken in Gradle 6.4 HOT 4
- Cannot suppress SpotBug warnings in generated code HOT 3
- Update CodeNarc to latest version (1.6.1) HOT 2
- Provide configDirectory property for Checkstyle plugin HOT 1
- Reporting enabled property deprecation warning HOT 1
- Update Spotbugs Gradle plugin to 5.0.13 HOT 2
- checkstyleMain task is failing with Gradle 8.0 upgrade HOT 2
- Update Spotbugs Gradle plugin to 5.1.4 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-quality-plugin.