From 98ca6543e92a75597745cda924ff06db39fa9dfa Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 30 Dec 2015 05:10:48 +0400 Subject: [PATCH] Send provided dependencies to the IDEA. --- .../com/beust/kobalt/app/remote/GetDependenciesCommand.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/app/remote/GetDependenciesCommand.kt b/src/main/kotlin/com/beust/kobalt/app/remote/GetDependenciesCommand.kt index 72dfe779..9a121abe 100644 --- a/src/main/kotlin/com/beust/kobalt/app/remote/GetDependenciesCommand.kt +++ b/src/main/kotlin/com/beust/kobalt/app/remote/GetDependenciesCommand.kt @@ -54,7 +54,8 @@ class GetDependenciesCommand @Inject constructor(val executors: KobaltExecutors, val pluginDependencies = pluginUrls.map { File(it.toURI()) }.map { FileDependency(it.absolutePath) } projects.forEach { project -> val compileDependencies = pluginDependencies.map { toDependencyData(it, "compile")} + - allDeps(project.compileDependencies).map { toDependencyData(it, "compile") } + allDeps(project.compileDependencies).map { toDependencyData(it, "compile") } + + allDeps(project.compileProvidedDependencies).map { toDependencyData(it, "compile") } val testDependencies = allDeps(project.testDependencies).map { toDependencyData(it, "testCompile") } @Suppress("UNCHECKED_CAST")