[Gradle] MetadataDependencyTransformationTask: Migrate to 'BuildIdentifier.getBuildPath'

^KT-58157 In Progress
This commit is contained in:
Sebastian Sellmair
2023-07-27 16:55:25 +02:00
committed by Space Team
parent 71e779375f
commit fc359acb37
@@ -186,7 +186,7 @@ private typealias SerializableComponentIdentifierKey = String
*/
private val ComponentIdentifier.serializableUniqueKey
get(): SerializableComponentIdentifierKey = when (this) {
is ProjectComponentIdentifier -> "project ${build.name}$projectPath"
is ProjectComponentIdentifier -> "project ${build.buildPathCompat}$projectPath"
is ModuleComponentIdentifier -> "module $group:$module:$version"
else -> error("Unexpected Component Identifier: '$this' of type ${this.javaClass}")
}