mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Helper function.
This commit is contained in:
parent
48feda51ad
commit
99b0c3b447
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ import javax.inject.Singleton
|
||||||
public class DependencyManager @Inject constructor(val executors: KobaltExecutors,
|
public class DependencyManager @Inject constructor(val executors: KobaltExecutors,
|
||||||
val depFactory: DepFactory){
|
val depFactory: DepFactory){
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Transitive dependencies for the compilation of this project.
|
||||||
|
*/
|
||||||
|
fun calculateTransitiveDependencies(project: Project, context: KobaltContext)
|
||||||
|
= calculateDependencies(project, context, project.dependentProjects,
|
||||||
|
project.compileDependencies + project.compileRuntimeDependencies)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the classpath for this project, including the IClasspathContributors.
|
* @return the classpath for this project, including the IClasspathContributors.
|
||||||
* allDependencies is typically either compileDependencies or testDependencies
|
* allDependencies is typically either compileDependencies or testDependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue