{"id":26924472,"url":"https://github.com/klee0kai/tasktree","last_synced_at":"2026-03-16T01:48:18.476Z","repository":{"id":170410075,"uuid":"646450308","full_name":"klee0kai/tasktree","owner":"klee0kai","description":"Print gradle task dependencies graph","archived":false,"fork":false,"pushed_at":"2024-08-09T17:28:10.000Z","size":155,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2024-08-09T18:48:47.337Z","etag":null,"topics":["gradle-plugin","kotlin","tasktree"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klee0kai.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}},"created_at":"2023-05-28T12:49:51.000Z","updated_at":"2024-08-09T17:28:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e154d1f4-3b76-4fcd-a757-baa86f341d45","html_url":"https://github.com/klee0kai/tasktree","commit_stats":null,"previous_names":["klee0kai/tasktree"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klee0kai%2Ftasktree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klee0kai%2Ftasktree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klee0kai%2Ftasktree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klee0kai%2Ftasktree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klee0kai","download_url":"https://codeload.github.com/klee0kai/tasktree/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741108,"owners_count":20826064,"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":["gradle-plugin","kotlin","tasktree"],"created_at":"2025-04-02T01:54:15.120Z","updated_at":"2026-03-16T01:48:18.445Z","avatar_url":"https://github.com/klee0kai.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TaskTree\n\n[![](https://img.shields.io/badge/license-GNU_GPLv3-blue.svg?style=flat-square)](./LICENSE)\n[![](https://jitpack.io/v/klee0kai/tasktree.svg)](https://jitpack.io/#klee0kai/tasktree)\n\nPrint gradle task dependencies graph\n\n## Usage\n\nApply plugin in your module's `build.gradle`:\n\n```kotlin\nplugins {\n    id(\"com.github.klee0kai.tasktree\") version \"0.0.12\"\n}\n\ntasktree {\n    printClassName = true\n    maxDepth = 1\n}\n```\n\nAll params available [here](https://github.com/klee0kai/tasktree/blob/dev/tasktree/src/main/kotlin/com/github/klee0kai/tasktree/TaskTreeExtension.kt) \n\nProject build report in the form of a build graph. [Diagon](https://github.com/ArthurSonzogni/Diagon) must be installed\n\n```bash\n./gradlew taskTree assemble\n\n\u003e\u003e\n:example:assemble price: 12; depth: 6; importance: 3; relativePrice: 0,55; relativeDepth: 0,67;\n+--- :example:simple_first_task price: 2; depth: 2; importance: 4; relativePrice: 0,09; relativeDepth: 0,22;\n|    \\--- :example:sub_first_task price: 1; depth: 1; importance: 5; relativePrice: 0,05; relativeDepth: 0,11;\n\n```\n\nVerify project's module dependency depth\n\n```bash \n./gradlew projectTree  --verifyDepth=1\n\n\u003e\u003e :dynamic_findstorage price: 3; depth: 3; importance: 0; relativePrice: 1,00; relativeDepth: 1,00; depth dependencies: :dynamic_findstorage \u003c- :app_mobile \u003c- :core;\n    Heavy projects: ':dynamic_findstorage' depth: 3\n```\n\nBuild graphs\n\n```bash \n./gradlew projectGraph\n\n\u003e\u003e\n┌─────────────┐\n│:example_core│\n└┬────────────┘\n┌▽───────┐     \n│:example│     \n└────────┘     \n```\n\n## Configure Init Script\n\nConfigure your init script `$HOME/.gradle/init.gradle.kts`\n[HowIt'sWork](https://docs.gradle.org/current/userguide/init_scripts.html).\n\n```kotlin\ninitscript {\n    repositories {\n        maven(url = \"https://jitpack.io\")\n    }\n    dependencies {\n        classpath(\"com.github.klee0kai:tasktree:0.0.12\")\n    }\n}\n\nrootProject {\n    pluginManager.apply(com.github.klee0kai.tasktree.TaskTreePlugin::class.java)\n\n    extensions.findByType(com.github.klee0kai.tasktree.TaskTreeExtension::class.java)\n        ?.apply {\n            maxDepth = 1\n            printDetails = true\n            printRelativePrice = true\n        }\n}\n```\n\n## License\n\n```\nCopyright (c) 2023 Andrey Kuzubov\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklee0kai%2Ftasktree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklee0kai%2Ftasktree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklee0kai%2Ftasktree/lists"}