{"id":22984403,"url":"https://github.com/younglim/gradle-license-finder","last_synced_at":"2025-04-02T10:44:12.886Z","repository":{"id":265235703,"uuid":"895542785","full_name":"younglim/gradle-license-finder","owner":"younglim","description":"Checks dependencies from output of gradlew :app:dependencies and searches maven repository for license information","archived":false,"fork":false,"pushed_at":"2025-01-06T08:02:32.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T01:51:37.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/younglim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-28T12:05:12.000Z","updated_at":"2025-01-06T08:02:36.000Z","dependencies_parsed_at":"2025-02-08T01:51:34.328Z","dependency_job_id":"d4385591-e633-4c39-a08d-9128e4c1f71a","html_url":"https://github.com/younglim/gradle-license-finder","commit_stats":null,"previous_names":["younglim/gradle-license-finder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younglim%2Fgradle-license-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younglim%2Fgradle-license-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younglim%2Fgradle-license-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younglim%2Fgradle-license-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/younglim","download_url":"https://codeload.github.com/younglim/gradle-license-finder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802596,"owners_count":20836368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T03:16:10.214Z","updated_at":"2025-04-02T10:44:12.864Z","avatar_url":"https://github.com/younglim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gradle-license-finder\nChecks dependencies from output of gradlew :app:dependencies and searches maven repository for license information\n\n## Steps\n- Set JAVA_HOME to an existing installation of JDK. For Android Studio on Mac, that is `export JAVA_HOME=\"/Applications/Android Studio.app/Contents/jbr/Contents/Home\"`\n- Copy `gradle-find-dependencies.sh` and `mvn-query-licenses.sh` to the same directory as your gradle project.\n- Run `./gradle-find-dependencies.sh` to query dependencies.\n- Run `./mvn-query-licenses.sh` to get licenses to output in CSV.\n\n## Additional steps to Format License Information\n1. **Install Python 3:**\n   - Run the following command to install Python 3:\n     ```bash\n     brew install python\n     ```\n2. **Edit the `license_report.csv`:**\n   - Open the `license_report.csv` file.\n   - Go to the `Package_URL` column in the file and visit the URL for each package.\n   - Find the full license text at the bottom of the page.\n   - Copy the license text and paste it into the corresponding row in the `License Text` column.\n3. **Format the CSV into a LICENSE Text File:**\n   - Once you've updated the CSV file, run the following command to format it into a LICENSE text file:\n     ```bash\n     python3 license-formatter.py \u003cinput file\u003e \u003coutput file\u003e\n     ```\n   - For example, if your input file is `third-party-license-graddle.csv` and you want the output file to be `LICENSE`, run:\n     ```bash\n     python3 license-formatter.py third-party-license-graddle.csv LICENSE\n     ```\nThis will generate the LICENSE text file based on the information in the CSV file.\n\n## Example/Current Files\n1. **[dependencies_linear_deduplicated.txt]**  \n   This file contains the dependencies extracted from Gradle.\n2. **[third-party-license-graddle.csv]**  \n   This file includes the license text that is filled in for each third-party dependency.\n3. **[LICENSE]**  \n   This is the full license file to be included in your repository.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounglim%2Fgradle-license-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyounglim%2Fgradle-license-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounglim%2Fgradle-license-finder/lists"}