Giter VIP home page Giter VIP logo

Comments (6)

xvik avatar xvik commented on June 25, 2024

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.

jjathman avatar jjathman commented on June 25, 2024

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.

jjathman avatar jjathman commented on June 25, 2024

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.

xvik avatar xvik commented on June 25, 2024

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.

jjathman avatar jjathman commented on June 25, 2024

Great, thank you for looking in to it!

from gradle-quality-plugin.

xvik avatar xvik commented on June 25, 2024

version 3.1.1 released

from gradle-quality-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.