{"id":33229727,"url":"https://github.com/http-builder-ng/gradle-http-plugin","last_synced_at":"2025-11-21T11:01:58.305Z","repository":{"id":45647938,"uuid":"106599805","full_name":"http-builder-ng/gradle-http-plugin","owner":"http-builder-ng","description":"Gradle plugin providing support for using HttpBuilder-NG to make HTTP requests as Gradle Tasks.","archived":true,"fork":false,"pushed_at":"2021-08-04T16:02:29.000Z","size":546,"stargazers_count":31,"open_issues_count":6,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T21:57:34.482Z","etag":null,"topics":["dormant","gradle-plugin","groovy","http","httpbuilder-ng","java"],"latest_commit_sha":null,"homepage":"https://http-builder-ng.github.io/gradle-http-plugin/","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/http-builder-ng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-11T19:28:07.000Z","updated_at":"2024-06-05T17:43:50.000Z","dependencies_parsed_at":"2022-08-01T02:08:46.668Z","dependency_job_id":null,"html_url":"https://github.com/http-builder-ng/gradle-http-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/http-builder-ng/gradle-http-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-builder-ng%2Fgradle-http-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-builder-ng%2Fgradle-http-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-builder-ng%2Fgradle-http-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-builder-ng%2Fgradle-http-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http-builder-ng","download_url":"https://codeload.github.com/http-builder-ng/gradle-http-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-builder-ng%2Fgradle-http-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285603340,"owners_count":27200013,"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-11-21T02:00:06.175Z","response_time":61,"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":["dormant","gradle-plugin","groovy","http","httpbuilder-ng","java"],"created_at":"2025-11-16T17:00:41.044Z","updated_at":"2025-11-21T11:01:58.299Z","avatar_url":"https://github.com/http-builder-ng.png","language":"Groovy","readme":"# Gradle HTTP Plugin\n\n[![Build Status](https://travis-ci.org/http-builder-ng/gradle-http-plugin.svg?branch=master)](https://travis-ci.org/http-builder-ng/gradle-http-plugin) [![Coverage Status](https://coveralls.io/repos/github/http-builder-ng/gradle-http-plugin/badge.svg?branch=master)](https://coveralls.io/github/http-builder-ng/gradle-http-plugin?branch=master)\n\n\u003e Dormant - The HttpBuilder-NG project is going dormant. Neither of us use the project any longer nor do we have the extra time to properly maintain it. Please feel free to fork it and move it forward, or contact us (with an issue) to discuss options for taking over the project.\n\n## Quick Links\n\n* Site: https://http-builder-ng.github.io/gradle-http-plugin/\n* Project: https://github.com/http-builder-ng/gradle-http-plugin\n* Issues: https://github.com/http-builder-ng/gradle-http-plugin/issues\n* GroovyDocs: https://http-builder-ng.github.io/gradle-http-plugin/docs/groovydoc/\n* User Guide: https://http-builder-ng.github.io/gradle-http-plugin/asciidoc/html5/\n\n## Introduction\n\nA Gradle plugin providing the ability to define tasks to make HTTP requests using the HttpBuilder-NG client library. The resulting tasks have a clean\nDSL and will look something like the following:\n\nGroovy\n```groovy\ntask notify(type:HttpTask){\n    config {\n        request.uri = 'http://something.com'\n    }\n    post {\n        request.uri.path = '/notify'\n        request.body = [event: 'activated']\n        response.success {\n            println 'The event notification was successful'\n        }\n    }\n}\n```\n\nKotlin\n```kotlin\ntasks {\n    val notify by registering(HttpTask::class) {\n        config {\n            it.request.setUri = \"http://something.com\"\n        }\n        post {\n            it.request.uri.setPath(\"/notify\")\n        }\n        response.success { fromServer, body -\u003e\n            println(\"The event notification was successful\")\n        }\n    }\n}\n```\n\n## Installing\n\nThe plugin is available through the [Gradle Plugin Repository](https://plugins.gradle.org/plugin/io.github.http-builder-ng.http-plugin) and may be\napplied to your Gradle build with one of the following:\n\n```groovy\nplugins {\n  id \"io.github.http-builder-ng.http-plugin\" version \"0.1.1\"\n}\n```\n\nor\n\n```groovy\nbuildscript {\n  repositories {\n    maven {\n      url \"https://plugins.gradle.org/m2/\"\n    }\n  }\n  dependencies {\n    classpath \"gradle.plugin.io.github.http-builder-ng:http-plugin:0.1.1\"\n  }\n}\n\napply plugin: \"io.github.http-builder-ng.http-plugin\"\n```\n\n## Building\n\nThe project is build with Gradle using the following command:\n\n    ./gradlew clean build\n\n## License\n\nThe Gradle HTTP Plugin is licensed under the [Apache 2](http://www.apache.org/licenses/LICENSE-2.0) open source license.\n\n    Copyright 2017 HttpBuilder-NG Project\n\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n    in compliance with the License. You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software distributed under the License\n    is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n    or implied. See the License for the specific language governing permissions and limitations under\n    the License.\n\n","funding_links":[],"categories":["HTTP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-builder-ng%2Fgradle-http-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-builder-ng%2Fgradle-http-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-builder-ng%2Fgradle-http-plugin/lists"}