mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
GH-391: "provided" dependencies are no longer used to compile.
Fixes https://github.com/cbeust/kobalt/issues/391
This commit is contained in:
parent
9db54e24e4
commit
5fac88b1f7
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors,
|
||||||
val result = arrayListOf<IClasspathDependency>().apply {
|
val result = arrayListOf<IClasspathDependency>().apply {
|
||||||
if (scopes.contains(Scope.COMPILE)) {
|
if (scopes.contains(Scope.COMPILE)) {
|
||||||
addAll(project.compileDependencies)
|
addAll(project.compileDependencies)
|
||||||
|
addAll(project.compileProvidedDependencies)
|
||||||
}
|
}
|
||||||
if (scopes.contains(Scope.RUNTIME)) {
|
if (scopes.contains(Scope.RUNTIME)) {
|
||||||
addAll(project.compileRuntimeDependencies)
|
addAll(project.compileRuntimeDependencies)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue