Coder Social home page Coder Social logo

gradle-multi-module's Introduction

Gradle Multi-Module Project

This project is an example of a project using Gradle to manage its build and dividing the projects into multiple sub-projects.

build.gradle at the root directory declares the submodules to build and the dependencies. The 2 submodules are:

  • submodule-1
  • submodule-2

The dependencies are:

  • jbcrypt 0.3m by org.mindrot
  • apache.sling.engine 2.0.4-incubator by org.apache.sling

To build the projects:

gradle build

To run the projects:

gradle run: this will build the projects and run them.

Number of dependencies:

  • 2 direct dependencies.
  • 0 transitive dependencies.
  • 2 vulnerabilities.

Vulnerable Call Chain

For submodule-1: Main.java has a method call at lines 9-10 that leads to a vulnerability.

For submodule-2: This module is not vulnerable as it only declares dependencies on vulnerable libraries and imports them in Main.java. No code was called from the libraries.

What's next?

By running the security scanner of your choice against multi-modules project, the tool should be able to process both sub-projects properly if it supports Gradle's multi-module feature.

gradle-multi-module's People

Contributors

zhaolida98 avatar

Watchers

James Cloos avatar  avatar

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.