Giter Site home page Giter Site logo

Comments (4)

andreas-borglin avatar andreas-borglin commented on June 20, 2024

Btw in the example above the project is setup with Gradle 7.4.2 and it's using the v3 tag for this action.

from actions.

bigdaz avatar bigdaz commented on June 20, 2024

There's not (currently) any way to ignore all plugin dependencies for your build, and the dependency-submission action is not able to differentiate between "development" and "runtime" dependencies.

But you can choose which projects and/or configurations to include/exclude when generating the dependency graph. See the documentation here.

from actions.

andreas-borglin avatar andreas-borglin commented on June 20, 2024

Thanks for the reply.

Yes sorry I forgot to mention that I have tried with DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':buildSrc' (also directly via the Gradle plugin locally) and it did not make any difference for this case.

I will keep testing with variations of the flags to see if I can get it to work somehow.

from actions.

bigdaz avatar bigdaz commented on June 20, 2024

You need to realize that it's where the dependencies are resolved that matters, not where they are declared. So if a plugin is applied to all projects, then it won't be possible to exclude it via project.

If you can generate a build scan then that will give you a good feel for which resolved configurations contain the undesirable dependency. If not, try running the dependencies and buildEnvironment tasks.

from actions.

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.