{"id":25719973,"url":"https://github.com/gregwhitaker/gradle-platformbom-example","last_synced_at":"2026-04-21T03:32:15.965Z","repository":{"id":82732532,"uuid":"232885122","full_name":"gregwhitaker/gradle-platformbom-example","owner":"gregwhitaker","description":"Example of creating a BOM in Gradle to share dependencies across projects.","archived":false,"fork":false,"pushed_at":"2020-12-10T16:31:00.000Z","size":503,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:41:24.260Z","etag":null,"topics":["bom","dependency-management","gradle","gradle-bom","gradle-build","gradle-platform"],"latest_commit_sha":null,"homepage":"","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/gregwhitaker.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":"2020-01-09T19:13:26.000Z","updated_at":"2024-07-20T21:06:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"abe53e99-2aab-4747-a3c2-ee40c756e05c","html_url":"https://github.com/gregwhitaker/gradle-platformbom-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregwhitaker/gradle-platformbom-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fgradle-platformbom-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fgradle-platformbom-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fgradle-platformbom-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fgradle-platformbom-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/gradle-platformbom-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fgradle-platformbom-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32075232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: 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":["bom","dependency-management","gradle","gradle-bom","gradle-build","gradle-platform"],"created_at":"2025-02-25T17:36:13.396Z","updated_at":"2026-04-21T03:32:15.960Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gradle-platformbom-example\n![Build](https://github.com/gregwhitaker/gradle-platformbom-example/workflows/Build/badge.svg)\n\nExample of how to use a BOM in [Gradle](https://www.gradle.org) to share dependency versions across projects.\n\n## Project Structure\nThis example contains the following projects:\n\n- [platform](platform) - The BOM project that defines the shared dependencies.\n- [project-a](project-a) - A project that uses the platform BOM.\n- [project-b](project-b) - A project that uses the platform BOM.\n\n## Building the Example\nRun the following command to build the example and create a Gradle Build Scan:\n\n    ./gradlew clean build --scan\n    \nIf successful, you will see that your build published a build scan:\n\n    BUILD SUCCESSFUL in 1s\n    11 actionable tasks: 10 executed, 1 up-to-date\n    \n    Publishing build scan...\n    https://gradle.com/s/o4xloi6jkmnck\n        \nThis build's build scan can be found at: [https://gradle.com/s/o4xloi6jkmnck](https://gradle.com/s/o4xloi6jkmnck)\n\n## Gradle Build Scan\nUse the Gradle Build Scan created by your build to check out the dependency resolution.\n\n1. Navigate to the build scan URL in a web browser.\n\n2. Select the `Dependencies` tab in the right-hand menu.\n\n3. Notice in the image below that the `platform` dependencies have been included as constraints and the `slf4j-api` dependency's selection reason is `Constraint`.\n\n    ![alt text](gradle-enterprise-deps.png)\n\n## Bugs and Feedback\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/gregwhitaker/gradle-platformbom-example/issues).\n\n## License\nMIT License\n\nCopyright (c) 2020 Greg Whitaker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fgradle-platformbom-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fgradle-platformbom-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fgradle-platformbom-example/lists"}