{"id":27106318,"url":"https://github.com/mikybars/error-prone-gradle-demo","last_synced_at":"2026-05-09T14:32:53.237Z","repository":{"id":169322617,"uuid":"645190559","full_name":"mikybars/error-prone-gradle-demo","owner":"mikybars","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-25T09:09:54.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T04:58:06.291Z","etag":null,"topics":["error-prone","gradle","java","refactoring","refaster","static-analysis"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/mikybars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-25T05:53:02.000Z","updated_at":"2024-11-29T14:49:56.000Z","dependencies_parsed_at":"2023-07-29T07:03:21.395Z","dependency_job_id":null,"html_url":"https://github.com/mikybars/error-prone-gradle-demo","commit_stats":null,"previous_names":["almibarss/error-prone-gradle-demo","mikybars/error-prone-gradle-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikybars%2Ferror-prone-gradle-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikybars%2Ferror-prone-gradle-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikybars%2Ferror-prone-gradle-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikybars%2Ferror-prone-gradle-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikybars","download_url":"https://codeload.github.com/mikybars/error-prone-gradle-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543165,"owners_count":20955860,"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","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":["error-prone","gradle","java","refactoring","refaster","static-analysis"],"created_at":"2025-04-06T19:39:49.250Z","updated_at":"2026-05-09T14:32:48.209Z","avatar_url":"https://github.com/mikybars.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# error-prone-gradle-demo\n\n\u003e Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time\n\n\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg alt=\"Error Prone Support logo\" src=\"https://error-prone.picnic.tech/assets/images/logo.svg\" width=\"50%\"\u003e\n  \u003c/picture\u003e\n\u003c/div\u003e\n\n## Rationale\n\nAfter watching a [presentation](https://www.youtube.com/watch?v=KPNimQMH0k4) showing off the possibilities of \n[Error Prone](https://errorprone.info/) I decided to give it a go and set up a little POC project reflecting\nmy current stack, namely Java 17 and Gradle 8. Common use cases implemented which are required for Real-World™\nprojects are the following:\n\n* Enable or disable specific Error Prone checks (whitelist vs blacklist)\n* Enable or disable specific Refaster rules (whitelist vs blacklist)\n* Apply additional bug checks and Refaster rules from the [Error Prone Support](https://error-prone.picnic.tech/) project\n* Apply custom Refaster rules defined inside the project\n* Suppression of false positives\n* Disable Error Prone in test code\n* Multiple excluded paths\n* Enable [patch mode](https://errorprone.info/docs/patching) by using a build flag (= Gradle property)\n\n## Usage\n\n```bash\n./gradlew build [-PepAutoPatch]\n```\n\n## Links\n* https://www.youtube.com/live/KPNimQMH0k4\n* https://errorprone.info/\n* https://error-prone.picnic.tech/\n* https://github.com/tbroyer/gradle-errorprone-plugin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikybars%2Ferror-prone-gradle-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikybars%2Ferror-prone-gradle-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikybars%2Ferror-prone-gradle-demo/lists"}