{"id":25229937,"url":"https://github.com/mridang/gradle-missinglink","last_synced_at":"2025-08-25T23:03:14.797Z","repository":{"id":276758334,"uuid":"930194001","full_name":"mridang/gradle-missinglink","owner":"mridang","description":"A Gradle plugin that can analyse your JVM bytecode for broken references","archived":false,"fork":false,"pushed_at":"2025-06-06T10:42:10.000Z","size":179,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-06T11:34:03.500Z","etag":null,"topics":["bytecode","bytecode-parser","dependencies","gradle","gradle-plugin","jvm","verification"],"latest_commit_sha":null,"homepage":"https://plugins.gradle.org/plugin/io.github.mridang.gradle.missinglink","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mridang.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":"2025-02-10T08:31:02.000Z","updated_at":"2025-06-06T10:42:11.000Z","dependencies_parsed_at":"2025-04-05T14:42:11.747Z","dependency_job_id":"d237ae38-1a18-4eda-8f61-b1fb50f3b78b","html_url":"https://github.com/mridang/gradle-missinglink","commit_stats":null,"previous_names":["mridang/gradle-missinglink"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mridang/gradle-missinglink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mridang%2Fgradle-missinglink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mridang%2Fgradle-missinglink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mridang%2Fgradle-missinglink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mridang%2Fgradle-missinglink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mridang","download_url":"https://codeload.github.com/mridang/gradle-missinglink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mridang%2Fgradle-missinglink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272144648,"owners_count":24881141,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bytecode","bytecode-parser","dependencies","gradle","gradle-plugin","jvm","verification"],"created_at":"2025-02-11T11:37:39.540Z","updated_at":"2025-08-25T23:03:14.764Z","avatar_url":"https://github.com/mridang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Missing Link - A Gradle Dependency Problem Finder\n\n**Missing Link** is a plugin for Gradle that helps identify classpath conflicts\nand dependency problems in your project. Originally developed for Maven, this\nplugin has been ported to Gradle to provide similar functionality.\n\n## Installation\n\nAdd the plugin to your `build.gradle` (Groovy DSL):\n\n```groovy\nplugins {\n    id 'io.github.mridang.gradle.missinglink' version '0.2.1'\n}\n```\n\n## Usage\n\nOnce the plugin is installed, it runs as part of Gradle's verification tasks,\nensuring that dependency conflicts are checked alongside other verification\nprocesses.\n\nOnce the plugin is installed, you can run it with:\n\n```sh\ngradle missinglinkCheck\n```\n\nThis will analyze your dependencies and report any conflicts that might cause\nissues at runtime.\n\n## Configuration\n\nYou can configure the plugin in your `build.gradle` file:\n\n```groovy\nmissinglink {\n    failOnConflicts = true\n    ignoreSourcePackages = [\"groovy.lang\"]\n    ignoreDestinationPackages = [\"com.foo\"]\n}\n```\n\n### Exclude Some Dependencies from Analysis\n\nSpecific dependencies can be excluded from analysis if you know that all\nconflicts within that dependency are \"false\" or irrelevant to your project.\n\nFor example, to exclude `jackson-databind` from analysis:\n\n```groovy\nmissingLink {\n    failOnConflicts = true\n    excludeDependencies = ['com.fasterxml.jackson.core:jackson-databind']\n}\n```\n\nThis prevents the plugin from analyzing `jackson-databind` for conflicts,\nreducing false positives.\n\n### Configuring the Reports\n\nMissing Link supports Gradle’s reporting infrastructure. You can configure\noutput reports in different formats, such as HTML, XML, and SARIF.\n\n```groovy\nmissingLink {\n    failOnConflicts = true\n    excludeDependencies = ['com.fasterxml.jackson.core:jackson-databind']\n    reports {\n        html {\n            required = false\n        }\n        xml {\n            required = false\n        }\n        sarif {\n            required = false\n        }\n    }\n}\n```\n\nThe reports will be generated in Gradle’s default reporting directory unless\nconfigured otherwise.\n\n### Specifying Output Location\n\nThe plugin supports customizing the output directory using Gradle's `reporting`\nextension:\n\n```groovy\nreporting {\n    baseDirectory = layout.buildDirectory.dir(\"our-reports\")\n}\n```\n\nThis allows you to control where reports are stored, aligning with Gradle’s s\ntandard reporting behavior.\n\n## Caveats\n\n### Reflection\n\nThe plugin cannot detect issues arising from reflective class loading. If your\ncode relies on reflection, some conflicts may go undetected.\n\n### Dependency Injection Containers\n\nFrameworks that use dynamic dependency injection, such as Guice or Spring,\nmay introduce dependencies at runtime that Missing Link cannot analyze.\n\n### Dead Code\n\nMissing Link analyzes all method calls in your bytecode, even if some methods\nare never executed at runtime. This may lead to false positives.\n\n### Optional Dependencies\n\nSome libraries check for optional dependencies using `Class.forName()`. The\nplugin might report conflicts even if they do not affect runtime behavior.\n\n## Contributing\n\nContributions are welcome! If you find a bug or have suggestions for improvement,\nplease open an issue or submit a pull request.\n\n## License\n\nApache License 2.0 © 2024 Mridang Agarwalla\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmridang%2Fgradle-missinglink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmridang%2Fgradle-missinglink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmridang%2Fgradle-missinglink/lists"}