Explore projects
Kotlinbeginnercli
Kotlin Script Task Runner
Task runner scripted in Kotlin: define tasks in Kotlin DSL, with dependencies between them, parallel execution, and progress reporting.
5 steps
Project steps
- 01
DSL task definition
task('build') { dependsOn('compile'); action { println('building...') } }
- 02
Dependency graph
Builds dependency graphs between tasks; detects cycles.
- 03
Topological sort
Orders tasks for correct dependency execution.
- 04
Parallel execution
Tasks without common dependencies run in parallel with coroutines.
- 05
Progress reporting
Displays progress per task with duration and status (success/failed/skipped).
Recommended resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech stack
Kotlinkotlinx.coroutineskotlin-scriptingclikt