{"id":21259286,"url":"https://github.com/buijs-dev/kradle","last_synced_at":"2025-09-07T23:40:49.097Z","repository":{"id":230280961,"uuid":"752672665","full_name":"buijs-dev/kradle","owner":"buijs-dev","description":"The Klutter command line tool.","archived":false,"fork":false,"pushed_at":"2024-03-28T20:07:19.000Z","size":32556,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-15T06:41:40.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/buijs-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["buijs-dev"]}},"created_at":"2024-02-04T13:46:24.000Z","updated_at":"2024-03-28T19:58:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"67ec9d28-2ad2-4803-bbf6-9b1699febb87","html_url":"https://github.com/buijs-dev/kradle","commit_stats":null,"previous_names":["buijs-dev/kradle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buijs-dev/kradle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fkradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fkradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fkradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fkradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buijs-dev","download_url":"https://codeload.github.com/buijs-dev/kradle/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fkradle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274112673,"owners_count":25224328,"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-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2024-11-21T04:13:29.072Z","updated_at":"2025-09-07T23:40:49.062Z","avatar_url":"https://github.com/buijs-dev.png","language":"Dart","funding_links":["https://github.com/sponsors/buijs-dev"],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/Buijs-Software-blue)](https://pub.dev/publishers/buijs.dev/packages)\n[![GitHub license](https://img.shields.io/github/license/buijs-dev/kradle?color=black\u0026logoColor=black)](https://github.com/buijs-dev/kradle/blob/main/LICENSE)\n[![pub](https://img.shields.io/pub/v/kradle)](https://pub.dev/packages/kradle)\n[![codecov](https://img.shields.io/codecov/c/github/buijs-dev/kradle?logo=codecov)](https://codecov.io/gh/buijs-dev/kradle)\n\n\u003cbr\u003e\n\n\u003cimg src=\"https://github.com/buijs-dev/klutter/blob/develop/.github/assets/metadata/icon/klutter_logo.png?raw=true\" alt=\"buijs software logo\" /\u003e\n\n# Kradle\n\nCommandline tool for [Klutter](https://github.com/buijs-dev/klutter).\nCreate a new project with the click of a button without having any frameworks installed (including Flutter).\n\nRunning your Gradle and/or Flutter commands through the kradle-wrapper\nensures you use the correct versions for these libraries. You can send commands\nthrough the kradle-wrapper directly or use the interactive wizard to configure.\n\n## Commands\n- [kradle](#kradle)\n- [gradle](#gradle)\n- [flutter](#flutter)\n\n### Kradle\nKradle commands:\n- [build](#build)\n- [clean](#clean)\n- [create](#create)\n- [get](#get)\n\n#### Build\nBuild the iOS and Android artifacts and generate all boilerplate code.\n\n\u003e Build is always required to run the app on a device when changes are done in the platform module.\n\nExample:\n```shell\n./kradlew build\n```\n\n#### Clean\nOptions:\n- [cache](#cache)\n\n##### Cache\nRemove all files and/or folders from the kradle cache folder.\nThe cache folder is by default set to user.home/.kradle/cache.\nIt can be overwritten by setting the cache property in kradle.env.\nThe kradle.env is stored next to the kradlew scripts.\n\nDefault kradle.env cache setting:\n```properties\ncache={{system.user.home}}/.kradle/cache/\n```\n\nExample command:\n```shell\n./kradlew clean cache\n```\n\n#### Create\nCreate a new Klutter project.\n\nRequired arguments:\n- root: The root folder of the project.\n- name: The name of the project (and subsequently the Flutter plugin).\n- group: The group/organisation name of the project.\n- flutter: The Flutter distribution to use.\n\nExample:\n```shell\n./kradlew create --root \"./\" --name \"my_plugin\" --group \"com.example\" --flutter \"3.10.6.macos.arm64\"\n```\n\n##### Config (Optional)\nPath to config yaml. This yaml can be used to configure project versions and dependencies.\n\nExample yaml:\n```yaml\nbom-version: \"2023.3.1.beta\"\nflutter-version: \"3.10.6\"\ndependencies:\n    klutter: \"2.0.0\"\n    klutter_ui: \"1.0.1\"\n    squint: \"0.1.2\"\n    embedded:\n       - \"org.jetbrains.kotlinx:kotlinx-datetime:0.4.0\"\n```\n\nExample command:\n```shell\n./kradlew create --config \"./foo/bar/kradle.yaml\" --root \"./\" --name \"my_plugin\" --group \"com.example\" --flutter \"3.10.6.macos.arm64\"\n```\n\n#### Get\nGet project dependencies and store them in the kradle cache.\nOptions:\n- [flutter](#get-flutter)\n\n##### Get Flutter\nGet a Flutter distribution which is compatible with Klutter.\nOptions:\n- [dist](#Dist)\n- [overwrite](#Overwrite)\n\n###### Dist\nThe distribution to download in format major.minor.patch.platform.architecture.\n\nExample command:\n```shell\n./kradlew get flutter --dist \"3.10.6.windows.x64\"\n```\n\n###### Overwrite\nOverwrite any existing distribution if present.\n\nExample which overwrites any existing distribution:\n```shell\n./kradlew get flutter --dist \"3.10.6.windows.x64\" --overwrite\n```\n\n### Gradle\nGradle commands can be executed by using the -g argument.\n\n```shell\n# Run gradle clean build in the folder /platform.\n./kradlew -g clean build -p \"platform\"\n```\n\n### Flutter\nFlutter commands can be executed by using the -f argument.\n\n```shell\n# Run flutter doctor command.\n./kradlew -f doctor\n```\n\n## Wizard\nWhen no argument is given then the interactive wizard is started.\n\n```shell\n./kradlew\n```\n\n\n// TODO wizard UI options etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fkradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuijs-dev%2Fkradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fkradle/lists"}