[Gradle] IdeBinaryDependencyResolver: Do not link dependencies to 'isIdeaProjectLevel' by default
As this caching of dependencies would also require to include the attributes (or name of the variant) into the coordinates ^KT-60053 Verification Pending
This commit is contained in:
committed by
Space Team
parent
041b424bab
commit
6140854fa6
+6
-1
@@ -180,7 +180,12 @@ class IdeBinaryDependencyResolver @JvmOverloads constructor(
|
||||
logger.warn("Unhandled componentId: ${componentId.javaClass}")
|
||||
null
|
||||
}
|
||||
}?.also { dependency -> dependency.gradleArtifact = artifact }
|
||||
}?.also { dependency ->
|
||||
dependency.gradleArtifact = artifact
|
||||
if (dependency is IdeaKotlinResolvedBinaryDependency) {
|
||||
dependency.isIdeaProjectLevel = false
|
||||
}
|
||||
}
|
||||
}.toSet()
|
||||
|
||||
return resolvedDependencies + unresolvedDependencies
|
||||
|
||||
Reference in New Issue
Block a user