{"id":16590048,"url":"https://github.com/dansomething/gradle-classpath","last_synced_at":"2026-03-07T05:03:45.103Z","repository":{"id":54464882,"uuid":"364634639","full_name":"dansomething/gradle-classpath","owner":"dansomething","description":"Output the classpath string of dependencies for a Gradle project.","archived":false,"fork":false,"pushed_at":"2025-06-06T13:57:41.000Z","size":118,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-04T09:59:49.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dansomething.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,"zenodo":null}},"created_at":"2021-05-05T16:08:45.000Z","updated_at":"2023-12-27T06:34:39.000Z","dependencies_parsed_at":"2025-07-25T01:03:44.623Z","dependency_job_id":"9758e73a-6026-4d86-82fb-ba284d738cdb","html_url":"https://github.com/dansomething/gradle-classpath","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dansomething/gradle-classpath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansomething%2Fgradle-classpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansomething%2Fgradle-classpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansomething%2Fgradle-classpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansomething%2Fgradle-classpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dansomething","download_url":"https://codeload.github.com/dansomething/gradle-classpath/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansomething%2Fgradle-classpath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-11T23:10:47.063Z","updated_at":"2026-03-07T05:03:45.081Z","avatar_url":"https://github.com/dansomething.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status][build-badge]\n\n# Gradle Classpath\n\nOutput the classpath string of dependencies for a [Gradle][gradle] project.\n\n## Rationale\n\nUnlike [Maven][maven], which provides [dependency:build-classpath][mvn-classpath], Gradle doesn't\noffer a standard task for outputting the classpath of a project. The goal of this project is to\nprovide that missing functionality in a simple command-line utility which behaves much like Maven's.\n\nThis Gradle classpath utility is used by the [coc-groovy][coc-groovy] project.\n\n## Prerequisites\n\n- [Java][java] (version 1.8.0 or later)\n\n## Installation\n\n### Option 1: Release\n\nThis is the easiest way to get started.\n\nDownload the latest package from the [Releases page][releases] and then extract the download.\n\nBe sure to add the location of the `gradle-classpath/bin` directory to your `$PATH`.\n\n### Option 2: From source\n\nSee [Building](#building)\n\nBe sure to add the location of the `build/install/gradle-classpath/bin/` directory to your `$PATH`.\n\n## Usage\n\nIn its simplest form `gradle-classpath` can be called like this to output the classpath of a Gradle project.\n```bash\n$ cd {your Gradle project directory}\n$ gradle-classpath\n```\n\nOr the classpath can be written to a file.\n```bash\n$ cd {your Gradle project directory}\n$ gradle-classpath --output-file classpath.txt\n```\n\nOr display the `gradle-classpath` full usage details.\n```bash\n$ gradle-classpath --help\nUsage: gradle-classpath [-hrV] [-d=\u003cprojectPath\u003e] [-g=\u003cgradleUserHomeDir\u003e]\n                        [-G=\u003cgradleHome\u003e] [-o=\u003coutputFile\u003e] [-s=\u003cpathSeparator\u003e]\nOutputs the Gradle classpath to a file or STDOUT.\n  -d, --project-dir=\u003cprojectPath\u003e\n                          Path to the Gradle project. Defaults to the current\n                            directory.\n  -g, --gradle-user-home=\u003cgradleUserHomeDir\u003e\n                          Specifies the Gradle user home directory. Defaults to\n                            ~/.gradle.\n  -G, --gradle-home=\u003cgradleHome\u003e\n                          Specifies the Gradle installation directory to use.\n                            Defaults to a project-specific Gradle version.\n  -h, --help              Show this help message and exit.\n  -o, --output-file=\u003coutputFile\u003e\n                          Write the classpath to this file. If undefined, the\n                            output is sent to STDOUT.\n  -r, --regenerate-file   If 'true' it always regenerates the classpath file.\n                            If 'false' it is not regenerated if it exists.\n                            Defaults to 'false'\n  -s, --path-separator=\u003cpathSeparator\u003e\n                          The character used between paths. Defaults to ':'\n  -V, --version           Print version information and exit.\n```\n\n## Contributing\n\n### Building\n\n1. Clone this project and run the [Gradle install task][gradle-install].\n\n    ```bash\n    $ git clone https://github.com/dansomething/gradle-classpath.git\n    $ cd gradle-classpath\n    $ ./gradlew installDist\n    ```\n\n1. Look in `build/install/gradle-classpath` for the output.\n\n### Debugging\n\n1. Debug gradle-classpath on itself.\n\n    ```bash\n    $ ./gradlew run --debug-jvm\n    ```\n\n1. Set breakpoints.\n1. Attach a Java debugger client to port 5005.\n\n### Running\n\n* Run gradle-classpath on itself.\n\n    ```bash\n    $ ./gradlew run\n    ```\n\n* Run gradle-classpath on itself and write the results to a file.\n\n    ```bash\n    ./gradlew run --args='-o classpath.txt'\n    ```\n\n[build-badge]:    https://github.com/dansomething/gradle-classpath/actions/workflows/gradle.yml/badge.svg\n[coc-groovy]:     https://github.com/dansomething/coc-groovy\n[gradle]:         https://gradle.org\n[gradle-install]: https://docs.gradle.org/current/userguide/application_plugin.html#sec:application_tasks\n[java]:           https://www.oracle.com/technetwork/java/javase/downloads/index.html\n[maven]:          https://maven.apache.org\n[mvn-classpath]:  https://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html\n[releases]:       https://github.com/dansomething/gradle-classpath/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansomething%2Fgradle-classpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdansomething%2Fgradle-classpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansomething%2Fgradle-classpath/lists"}