You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is empty if we're resolving the first level of dependencies.
166
+
// For the most part we should not end up here, but there is an edge case where we have to resolve a local dependency for a dependency of a dependency.
167
+
// In this case, we don't have the context of the location where the dependency is stored under the dependency folder, however we know where the dependant is stored,
168
+
// so we can use the remote local dependency resolver to find the source path.
169
+
logger.debug(s"Couldn't find sourcePath, using remote local dependency resolver for $dependencyPath")
170
+
logger.debug(s"Remote local dependency resolver: $remoteLocalDependencyResolver")
171
+
valalternativeSourcePath= remoteLocalDependencyResolver.get._1 // This is the path where the dependant is located
172
+
valalternativeTargetPath= remoteLocalDependencyResolver.get._2 // This is the relative path of the dependant in the target folder
173
+
174
+
// strips alternativeTargetPath from dependencyPath
175
+
// ie. `target` from `target/foo/bar` so that it can be added to alternativeSourcePath as it doesn't contain the `target` folder anymore at this point
// Handle dependencies of dependencies. For a given already built component, get their dependencies, copy them to our new target folder and recurse into these.
0 commit comments