{"id":18677955,"url":"https://github.com/vrerv/gradle-gsheet-download-plugin","last_synced_at":"2026-05-01T03:35:56.022Z","repository":{"id":245440024,"uuid":"818164739","full_name":"vrerv/gradle-gsheet-download-plugin","owner":"vrerv","description":"Gradle plugin to download google sheet as csv file","archived":false,"fork":false,"pushed_at":"2024-06-30T12:45:42.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T21:13:54.640Z","etag":null,"topics":["google-sheets-api","gradle","plugin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vrerv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-21T08:33:48.000Z","updated_at":"2024-06-30T12:45:44.000Z","dependencies_parsed_at":"2024-06-22T05:26:15.755Z","dependency_job_id":"69e554b8-869b-4aa3-b5bf-119fbc065e20","html_url":"https://github.com/vrerv/gradle-gsheet-download-plugin","commit_stats":null,"previous_names":["vrerv/gradle-gsheet-downlod-plugin"],"tags_count":5,"template":false,"template_full_name":"cortinico/kotlin-gradle-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrerv%2Fgradle-gsheet-download-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrerv%2Fgradle-gsheet-download-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrerv%2Fgradle-gsheet-download-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrerv%2Fgradle-gsheet-download-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vrerv","download_url":"https://codeload.github.com/vrerv/gradle-gsheet-download-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239525437,"owners_count":19653328,"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":["google-sheets-api","gradle","plugin"],"created_at":"2024-11-07T09:35:33.864Z","updated_at":"2025-11-07T09:30:31.195Z","avatar_url":"https://github.com/vrerv.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gradle-gsheet-download-plugin 🐘\n\n[![Pre Merge Checks](https://github.com/vrerv/gradle-gsheet-download-plugin/workflows/Pre%20Merge%20Checks/badge.svg)](https://github.com/vrerv/gradle-gsheet-download-plugin/actions?query=workflow%3A%22Pre+Merge+Checks%22)\n\nA Gradle Plugin to download Google Sheets as CSV files.\n\n* You can download multiple sheets at once so that you can include some data in your build process.\n\n## How to use\n\n### Create Google Service Account\n\n* You have to set up a google service account and create application credential key in Google Cloud Console.\n* Then, you have to share the Google Sheet with the service account email.\n* You can set GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your application credential file.\n  Otherwise, you can set the path in the plugin configuration.\n\nFor more details about Google Sheets API, see [Google Sheets API](https://developers.google.com/sheets/api).\n\n### Apply the plugin\n\nFind the [example](example/build.gradle.kts) folder for a working example.\n\nYou can run the task with the following command:\n\n```shell\n\n./gradlew gsheetDownload\n\n```\n\nbuild.gradle.kts\n\n```kotlin\nimport com.vrerv.gradle.plugin.gsheet.download.DownloadConfig\n\nplugins {\n    id(\"com.vrerv.gradle.plugin.gsheet.download\")\n}\n\ngsheetDownloadConfig {\n\n    // googleApplicationCredentials = \"path/to/your/service-account-key.json\"\n    downloads.set(\n        listOf(\n            DownloadConfig(\n                sheetId = \"1SVp5gkj-aHZCxfSLKLIzGKyJOY5Tzadqo-_TFuxGBOg\",\n                sheetName = \"Sheet1\",\n                rangeFrom = \"A1\",\n                rangeTo = \"H1000\",\n                outputFileName = \"test.csv\",\n            ),\n        ),\n    )\n\n    outputDir = file(\"build\")\n}\n```\n\nbuild.gradle\n\n```groovy\nimport com.vrerv.gradle.plugin.gsheet.download.DownloadConfig\n\nplugins {\n    id \"com.vrerv.gradle.plugin.gsheet.download\"\n}\n\ngsheetDownloadConfig {\n\n    // googleApplicationCredentials = \"path/to/your/service-account-key.json\"\n    downloads = [\n        new DownloadConfig(\n            \"1SVp5gkj-aHZCxfSLKLIzGKyJOY5Tzadqo-_TFuxGBOg\",\n            \"Sheet1\",\n            \"A1\",\n            \"H1000\",\n            \"test.csv\",\n        )\n    ]\n\n    outputDir = file(\"build\")\n}\n```\n\n## Development\n\n* [Plugin Development](docs/plugin-development.md)\n\n## Contributing\n\nFeel free to open a issue or submit a pull request for any bugs/improvements.\n\n## License\n\nThis plugin is licensed under the MIT License - see the [License](License) file for details.\nPlease note that the generated template is offering to start with a MIT license but you can change it to whatever you wish, as long as you attribute under the MIT terms that you're using the template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrerv%2Fgradle-gsheet-download-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrerv%2Fgradle-gsheet-download-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrerv%2Fgradle-gsheet-download-plugin/lists"}