{"id":19846183,"url":"https://github.com/wswenyue/autogeneratecode","last_synced_at":"2026-05-15T03:31:37.519Z","repository":{"id":61111449,"uuid":"538425350","full_name":"wswenyue/AutoGenerateCode","owner":"wswenyue","description":"A gradle plugin that generates code automatically","archived":false,"fork":false,"pushed_at":"2022-10-09T15:06:49.000Z","size":431,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-24T07:43:16.250Z","etag":null,"topics":["android","autocomplete","generate-code","gradle-plugin"],"latest_commit_sha":null,"homepage":"http://wswenyue.vip/AutoGenerateCode/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wswenyue.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}},"created_at":"2022-09-19T09:26:09.000Z","updated_at":"2022-09-21T09:06:59.000Z","dependencies_parsed_at":"2022-10-11T04:31:36.410Z","dependency_job_id":null,"html_url":"https://github.com/wswenyue/AutoGenerateCode","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/wswenyue/AutoGenerateCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wswenyue%2FAutoGenerateCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wswenyue%2FAutoGenerateCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wswenyue%2FAutoGenerateCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wswenyue%2FAutoGenerateCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wswenyue","download_url":"https://codeload.github.com/wswenyue/AutoGenerateCode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wswenyue%2FAutoGenerateCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33052522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["android","autocomplete","generate-code","gradle-plugin"],"created_at":"2024-11-12T13:10:45.442Z","updated_at":"2026-05-15T03:31:37.502Z","avatar_url":"https://github.com/wswenyue.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoGenerateCodePlugin\n\n## Introduction\n**A gradle plugin that generates code automatically**\n\n## Using AutoGenerateCodePlugin\n\nAdd the plugin section in your root project `build.gradle` file :\n\n```gradle\nplugins {\n    id 'vip.wswenyue.AutoGenerateCode' version '0.1.0' apply false\n}\n```\n\nAnd apply it in the app module `build.gradle` file :\n\n```gradle\nplugins {\n    id 'vip.wswenyue.AutoGenerateCode'\n}\n```\n\n### Configuration\nConfigure in any module you want to use. Add the following sample content to the `gradle.properties` file\n\n```properties\nagc.outDir=src/main/java\nagc.className=TestBuildConfig\nagc.package=com.wswenyue\nagc.string.fields.key1=value1\nagc.string.fields.TEST_KEY=value2\n```\n\nAfter build you will get:\n\n![](http://wswenyue.vip/AutoGenerateCode/assets/img/result.d0a83088.jpg)\n\n\nFinally, don't forget to add Git ignore\n```.gitignore\nsrc/main/java/com/wswenyue/TestBuildConfig.java\n```\n\n\n## License\n[BSD 2-Clause \"Simplified\" License](https://github.com/wswenyue/AutoGenerateCode/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwswenyue%2Fautogeneratecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwswenyue%2Fautogeneratecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwswenyue%2Fautogeneratecode/lists"}