mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 02:57:21 +02:00
Problem When a user defines an alias with a name that matches an existing task or setting key (e.g., `alias c = compile` when a custom task `c` exists), the alias silently wins and shadows the task. Solution Detect conflicts at alias creation time and fail with an error message: ``` Alias 'c' conflicts with a task or setting key of the same name. Use a different alias name to avoid ambiguity. ```