GithubHelp home page GithubHelp logo

Comments (5)

ati90ati avatar ati90ati commented on May 27, 2024 2

NOTE: in the plugin version 1.6.9 it did not appear, but unfortunately in the 1.6.10 / 1.6.11 / 1.7.0 yes.

I've created a sample project:
https://github.com/ati90ati/bugreport-spotbugs-gradle-plugin-logging

from spotbugs-gradle-plugin.

KengoTODA avatar KengoTODA commented on May 27, 2024

note: an alternative constructor has been added at v5.1.0. So to solve this issue, we need to bump up supported Gradle version to 5.1 from 5.0 (introduced by #100).

from spotbugs-gradle-plugin.

ati90ati avatar ati90ati commented on May 27, 2024

Hey, this cannot be fixed earlier than the 2.0.0 version?

from spotbugs-gradle-plugin.

KengoTODA avatar KengoTODA commented on May 27, 2024

Yes. I think major version up is the best timing to break backward compatibility.

What is your concern? Is Gradle v6 coming soon?

from spotbugs-gradle-plugin.

ati90ati avatar ati90ati commented on May 27, 2024

Gradle 6 is not yet here.
I try to avoid to have warnings and to use deprecated code.

2.0.0 is ok for me, however 1.7.0 sounds much better.
Do you have an idea when you will succeed to release 2.0.0?

Problem 2:
Also in the version 1.6.10 in an application with Spring Boot I get these errors:

Task :spotbugsMain
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
The following classes needed for analysis were missing:
call
get
makeConcatWithConstants
apply
accept
test

I also use the findsecbugs plugin:

dependencies {
    spotbugs configurations.spotbugsPlugins.dependencies
    spotbugsPlugins "com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0"
}

from spotbugs-gradle-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.