From 5fac88b1f72a8fb7bd9d5fc662e3e87653ba6850 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Fri, 7 Apr 2017 19:39:21 -0700 Subject: [PATCH] GH-391: "provided" dependencies are no longer used to compile. Fixes https://github.com/cbeust/kobalt/issues/391 --- .../src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt index 74d591ea..0ad02ffa 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt @@ -106,6 +106,7 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors, val result = arrayListOf().apply { if (scopes.contains(Scope.COMPILE)) { addAll(project.compileDependencies) + addAll(project.compileProvidedDependencies) } if (scopes.contains(Scope.RUNTIME)) { addAll(project.compileRuntimeDependencies)