Skip to content

Commit 99a8141

Browse files
committed
update documents to add android and fix the reuse error
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent f12a62a commit 99a8141

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.reuse/dep5

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ Files: tests/test_pypi/*
6262
Copyright: 2021 LG Electronics
6363
License: Apache-2.0
6464

65-
Files: tests/test_cocoapods/cocoapods-tips*
65+
Files: tests/test_cocoapods/cocoapods-tips/*
6666
Copyright: 2017 ClintJang
6767
License: MIT
68+
69+
Files: tests/test_android/*
70+
Copyright: 2018 Google, Inc
71+
License: Apache-2.0

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Each package manager uses the results of the following software:
3131
- Gradle : [License Gradle Plugin](https://github.com/hierynomus/license-gradle-plugin)
3232
- Maven : [license-maven-plugin](https://github.com/mojohaus/license-maven-plugin)
3333
- Pub : [flutter_oss_licenses](https://github.com/espresso3389/flutter_oss_licenses)
34+
- Android(gradle) : [android-dependency-scanning](https://github.com/fosslight/android-dependency-scanning)
3435

3536
Because we utilizes the different open source software to analyze the dependencies of each package manager, you need to set up the **Prerequisite** steps in [User guide](https://fosslight.org/fosslight-guide-en/scanner/2_dependency.html) according to package manager to analyze.
3637

src/fosslight_dependency/_help.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
Gradle : License Gradle Plugin
1818
Maven : License-maven-plugin
1919
Pub : Flutter_oss_licenses
20+
Android : android-dependency-scanning
2021
2122
Options:
2223
Optional
2324
-h\t\t\t\t Print help message.
2425
-v\t\t\t\t Print the version of the script.
25-
-m <package_manager>\t Enter the package manager(npm, maven, gradle, pip, pub, cocoapods).
26+
-m <package_manager>\t Enter the package manager(npm, maven, gradle, pip, pub, cocoapods, android).
2627
-p <input_path>\t\t Enter the path where the script will be run.
2728
-o <output_path>\t\t Enter the path where the result file will be generated.
2829

src/fosslight_dependency/analyze_dependency.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ def main_gradle():
983983
# If the PACKAGE is gradle & MANUAL_DETECT is false, then open_input_file results is false.
984984
# In that case, we re-try the open_input_file for the android package manager.
985985
if not input_fp:
986+
logger.warning("If the PACKAGE is gradle and automatically detcted, it re-tries to find input file for android")
986987
PACKAGE = 'android'
987988
set_package_variables(PACKAGE)
988989
input_fp = open_input_file()

0 commit comments

Comments
 (0)