[Gradle] Prettify result of ComponentIdentifier.uniqueKey for projects
^KT-49933
This commit is contained in:
committed by
Space Team
parent
357e14dc04
commit
1f895e5a36
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user