diff --git a/src/main/kotlin/com/ebay/plugins/graph/analytics/GraphAnalyticsPlugin.kt b/src/main/kotlin/com/ebay/plugins/graph/analytics/GraphAnalyticsPlugin.kt index 871aca3..920a57b 100644 --- a/src/main/kotlin/com/ebay/plugins/graph/analytics/GraphAnalyticsPlugin.kt +++ b/src/main/kotlin/com/ebay/plugins/graph/analytics/GraphAnalyticsPlugin.kt @@ -246,8 +246,11 @@ internal class GraphAnalyticsPlugin : Plugin { } } - val projectDependencies = config.allDependencies.filterIsInstance() - projectDependencies.map { it.path }.forEach { depProjectPath -> + config.allDependencies.configureEach { dependency -> + if (dependency !is ProjectDependency) { + return@configureEach + } + val depProjectPath = dependency.path addDependency( project = project, configuration = dependenciesConfig,