[Gradle] Prettify result of ComponentIdentifier.uniqueKey for projects

^KT-49933
This commit is contained in:
Anton Lakotka
2023-01-12 16:38:24 +01:00
committed by Space Team
parent 357e14dc04
commit 1f895e5a36
@@ -96,7 +96,7 @@ private typealias ComponentIdentifierKey = String
*/
private val ComponentIdentifier.uniqueKey get(): ComponentIdentifierKey =
when (this) {
is ProjectComponentIdentifier -> "project ${build.name} :$projectPath"
is ProjectComponentIdentifier -> "project ${build.name}$projectPath"
is ModuleComponentIdentifier -> "module $group:$module:$version"
else -> error("Unexpected Component Identifier: '$this' of type $javaClass")
}