Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Support multiple source code directories #90

Open
gian2dchris opened this issue May 16, 2022 · 0 comments
Open

[FR] Support multiple source code directories #90

gian2dchris opened this issue May 16, 2022 · 0 comments

Comments

@gian2dchris
Copy link

gian2dchris commented May 16, 2022

Support multiple source code directories

Hello good people !

Is your feature request related to a problem? Please describe.
I am trying to run mariana-trench on an application that contains its source code in multiple directories and an external package. I ran into this problem while trying to integrate mariana trench into a build pipeline for mobile applications, but I think this feature also makes sense for scanning non-Android projects.

Repository structure example:

./app
├── config
├── docs
├── gradle
├── app-common
│   └── src
├── app-external
│   └── src
├── externalSDK.java
├── app-login
│   └── src
└── app-test
    └── src

Describe the solution you'd like
I would like to execute something similar to:

(mariana-trench)$ mariana-trench \  
--system-jar-configuration-path=$ANDROID_SDK/platforms/android-30/android.jar  
--apk-path=app-debug.apk \  
--source-root-directory=./app/app-common/src/main/java
--source-root-directory=./app/app-external/src/main/java
--source-root-directory=./app/app-login/src/main/java
--source-root-directory=./app/externalSDK.java/src/main/java

Additional context
I discussed this issue with some people from Facebook's bounty team, who presented Mariana Trench during BountyConEdu and it was suggested, that I open an issue here so that it gets handled by the software team responsible.

Any clarification required, let me know.

Regards,
Giannis

@gian2dchris gian2dchris changed the title Support multiple source code directories [FR] Support multiple source code directories May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant