mirror of https://github.com/sbt/sbt.git
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. ``` |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala/sbt | ||