{"id":28828048,"url":"https://github.com/openrewrite/rewrite-gradle-plugin","last_synced_at":"2026-01-20T21:05:52.870Z","repository":{"id":39463868,"uuid":"263752806","full_name":"openrewrite/rewrite-gradle-plugin","owner":"openrewrite","description":"OpenRewrite's Gradle plugin.","archived":false,"fork":false,"pushed_at":"2026-01-16T12:40:56.000Z","size":1771,"stargazers_count":79,"open_issues_count":21,"forks_count":48,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-17T03:25:35.476Z","etag":null,"topics":["openrewrite"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openrewrite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE/apache-license-v2.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-13T22:02:11.000Z","updated_at":"2026-01-16T12:41:00.000Z","dependencies_parsed_at":"2023-09-24T08:40:46.452Z","dependency_job_id":"2f6155d6-da2b-4609-b239-9880640b8677","html_url":"https://github.com/openrewrite/rewrite-gradle-plugin","commit_stats":null,"previous_names":[],"tags_count":295,"template":false,"template_full_name":null,"purl":"pkg:github/openrewrite/rewrite-gradle-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrewrite%2Frewrite-gradle-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrewrite%2Frewrite-gradle-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrewrite%2Frewrite-gradle-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrewrite%2Frewrite-gradle-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openrewrite","download_url":"https://codeload.github.com/openrewrite/rewrite-gradle-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrewrite%2Frewrite-gradle-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28613696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["openrewrite"],"created_at":"2025-06-19T04:44:25.156Z","updated_at":"2026-01-20T21:05:52.865Z","avatar_url":"https://github.com/openrewrite.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.openrewrite.org\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/openrewrite/rewrite/raw/main/doc/logo-oss-dark.svg\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/openrewrite/rewrite/raw/main/doc/logo-oss-light.svg\"\u003e\n      \u003cimg alt=\"OpenRewrite Logo\" src=\"https://github.com/openrewrite/rewrite/raw/main/doc/logo-oss-light.svg\" width='600px'\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003erewrite-gradle-plugin\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003c!-- Keep the gap above this line, otherwise they won't render correctly! --\u003e\n[![ci](https://github.com/openrewrite/rewrite-gradle-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-gradle-plugin/actions/workflows/ci.yml)\n[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/org.openrewrite/plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/org.openrewrite.rewrite)\n[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle\u0026labelColor=02303A)](https://ge.openrewrite.org/scans)\n[![Contributing Guide](https://img.shields.io/badge/Contributing-Guide-informational)](https://github.com/openrewrite/.github/blob/main/CONTRIBUTING.md)\n\u003c/div\u003e\n\n## What is this?\n\nThis project provides a Gradle plugin that applies [Rewrite](https://github.com/openrewrite/rewrite) checking and fixing tasks as build tasks, one of several possible workflows for propagating change across an organization's source code.\n\n```groovy\nplugins {\n    id(\"java\")\n    id(\"org.openrewrite.rewrite\").version(\"latest_version_here\")\n}\n\nrewrite {\n    // Reformats Java Code\n    activeRecipe(\"org.openrewrite.java.format.AutoFormat\")\n}\n```\n\n### Consuming latest snapshots from OSSRH\n\nTo use the latest `-SNAPSHOT` of the `rewrite-gradle-plugin`, update your project's `settings.gradle.kts`:\n\n```kts\npluginManagement {\n    resolutionStrategy {\n        eachPlugin {\n            if (requested.id.namespace == \"org.openrewrite\") {\n                useModule(\"org.openrewrite:plugin:${requested.version}\")\n            }\n        }\n    }\n\n    repositories {\n        // ...\n        maven {\n            url = uri(\"https://central.sonatype.com/repository/maven-snapshots/\")\n        }\n        // ...\n        // you'll likely also need this if you don't have a pluginManagement section already:\n        gradlePluginPortal()\n        // ...\n    }\n}\n```\n\nThe plugin can be consumed in your `build.gradle.kts`:\n\n```kts\nplugins {\n    id(\"org.openrewrite.rewrite\") version \"X.Y.Z-SNAPSHOT\"\n    // or resolved dynamically to absolute latest:\n    id(\"org.openrewrite.rewrite\") version \"latest.integration\"\n}\n```\n\n## Contributing\n\nWe appreciate all types of contributions. See the [contributing guide](https://github.com/openrewrite/.github/blob/main/CONTRIBUTING.md) for detailed instructions on how to get started.\n\n## Documentation\n\n- [OpenRewrite Quickstart Guide](https://docs.openrewrite.org/running-recipes/getting-started)\n- [Gradle Plugin Reference](https://docs.openrewrite.org/reference/gradle-plugin-configuration)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenrewrite%2Frewrite-gradle-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenrewrite%2Frewrite-gradle-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenrewrite%2Frewrite-gradle-plugin/lists"}