{"id":21030692,"url":"https://github.com/cdancy/gradle-bitbucket-rest-plugin","last_synced_at":"2025-09-12T20:37:05.271Z","repository":{"id":148673823,"uuid":"93417838","full_name":"cdancy/gradle-bitbucket-rest-plugin","owner":"cdancy","description":"Gradle plugin for working with Bitbuckets REST API","archived":false,"fork":false,"pushed_at":"2017-08-17T19:10:37.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T19:25:41.723Z","etag":null,"topics":["bitbucket","ci","continuous-integration","gradle","jclouds","rest"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/cdancy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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":"2017-06-05T15:21:56.000Z","updated_at":"2017-06-05T18:24:25.000Z","dependencies_parsed_at":"2023-05-28T15:30:26.021Z","dependency_job_id":null,"html_url":"https://github.com/cdancy/gradle-bitbucket-rest-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdancy/gradle-bitbucket-rest-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-bitbucket-rest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-bitbucket-rest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-bitbucket-rest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-bitbucket-rest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdancy","download_url":"https://codeload.github.com/cdancy/gradle-bitbucket-rest-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-bitbucket-rest-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274873613,"owners_count":25365824,"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-09-12T02:00:09.324Z","response_time":60,"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":["bitbucket","ci","continuous-integration","gradle","jclouds","rest"],"created_at":"2024-11-19T12:19:50.581Z","updated_at":"2025-09-12T20:37:05.248Z","avatar_url":"https://github.com/cdancy.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Build Status](https://travis-ci.org/cdancy/gradle-bitbucket-rest-plugin.svg?branch=master)](https://travis-ci.org/cdancy/gradle-bitbucket-rest-plugin)\n[![codecov](https://codecov.io/gh/cdancy/gradle-bitbucket-rest-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/cdancy/gradle-bitbucket-rest-plugin)\n[![Download](https://api.bintray.com/packages/cdancy/gradle-plugins/gradle-bitbucket-rest-plugin/images/download.svg) ](https://bintray.com/cdancy/gradle-plugins/gradle-bitbucket-rest-plugin/_latestVersion)\n[![Stack Overflow](https://img.shields.io/badge/stack%20overflow-bitbucket-4183C4.svg)](https://stackoverflow.com/questions/tagged/bitbucket)\n# gradle-bitbucket-rest-plugin\n![alt tag](https://wac-cdn.atlassian.com/dam/jcr:e2a6f06f-b3d5-4002-aed3-73539c56a2eb/bitbucket_rgb_blue.png?cdnVersion=cm)\n\nGradle plugin for interacting with Bitbucket's REST API.\n\n## Setup\n\n```\nbuildscript() {\n    repositories {\n        jcenter()\n    }\n    dependencies {\n        classpath group: 'com.github', name: 'gradle-bitbucket-rest-plugin', version: '0.0.1', changing: true\n    }\n }\n\n apply plugin: 'gradle-bitbucket-rest-plugin'\n ```\n \n## On new features\n\nNew tasks or features are generally added as needed and/or requested. If there is something you want to see just open an ISSUE and ask or send in a PullRequest. Generally speaking tasks here have a 1-to-1 mapping to endpoints in the [bitbucket-rest](https://github.com/cdancy/bitbucket-rest) java client. The philosophy is that this plugin should be generic in nature acting and act as building blocks for you to potentially build more complicated and specific plugins should you need to do so.\n\n## Documentation\n\ngroovydocs can be found via [github pages here](http://cdancy.github.io/gradle-bitbucket-rest-plugin/docs/groovydoc/)\n\n## Extension\n\nThe `bitbucketRest` extension is provided to define the `url` and `credentials` for connecting to an Bitbucket instance.\nUsing the extension, and subsequently exposing this potentially private information, is required only if one does NOT want to use the various means of setting the aforementioned properties noted in the `Credentials` section below.\n\n```\n bitbucketRest {\n     url { \"http://127.0.0.1:7990\" } // Optional and defaults to http://127.0.0.1:7990\n     credentials { \"admin:password\" } // Optional and defaults to null\n }\n```\n\n## On Url and Credentials\n\nBecause this plugin builds on top of [bitbucket-rest](https://github.com/cdancy/bitbucket-rest) library one can supply\nthe [url and credentials](https://github.com/cdancy/bitbucket-rest#credentials) in any form this library accepts. Furthermore,\n[bitbucket-rest](https://github.com/cdancy/bitbucket-rest#property-based-setup) allows the `url` and `credentials`\nto be optionally supplied through properties or environment variables. This gives great flexibility in the way the user\nwants to define and/or hide their url or credentials assuming one does not want to use the `bitbucketRest` extension.\n\n## Tasks\n### Branch operations\n\n| Name | Description |\n| --- | --- |\n| [DeleteBranch](https://github.com/cdancy/gradle-bitbucket-rest-plugin/blob/master/src/main/groovy/com/github/gradle/bitbucket/rest/tasks/branch/DeleteBranch.groovy) | Delete a branch |\n\n### PullRequest operations\n\n| Name | Description |\n| --- | --- |\n| [GetPullRequest](https://github.com/cdancy/gradle-bitbucket-rest-plugin/blob/master/src/main/groovy/com/github/gradle/bitbucket/rest/tasks/pullrequest/GetPullRequest.groovy) | Get a PullRequest |\n\n## Examples\n\nThe [functional](https://github.com/cdancy/gradle-bitbucket-rest-plugin/tree/master/src/functTest/groovy/com/github/gradle/bitbucket/rest) tests provide many examples that you can use in your own code.\n\n## Components\n\n- bitbucket-rest \\- java library used to interact with bitbucket program\n\n## Testing\n\t\nRunning functional tests against an existing bitbucket program can be done like so:\n\n    ./gradlew functionalTest -PbitbucketUrl=http://127.0.0.1:7990 -PbitbucketCredentials=root:root\n\t\n## Contributing\nIf you're looking for a new feature, or are interested in contributing, we'd love to review your PR. If you don't have a new feature in mind, and are more interested in just hacking on the project, feel free to reach out for suggestions.\n\t\n## Additional Resources\n\n* [bitbucket-rest](https://github.com/cdancy/bitbucket-rest)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-bitbucket-rest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdancy%2Fgradle-bitbucket-rest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-bitbucket-rest-plugin/lists"}