mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
Add cordaCompile to graphs (#1282)
This commit is contained in:
parent
a027e51ca3
commit
98e2ea9352
@ -10,7 +10,13 @@ class GraphProject {
|
||||
this.project = project
|
||||
}
|
||||
def getCompileDeps() {
|
||||
project.configurations.compile.dependencies.matching { it in ProjectDependency }.collect { projects[it.dependencyProject] }
|
||||
['compile', 'cordaCompile'].collect {
|
||||
try {
|
||||
project.configurations[it].dependencies.matching { it in ProjectDependency }.collect { projects[it.dependencyProject] }
|
||||
} catch (org.gradle.api.artifacts.UnknownConfigurationException e) {
|
||||
[] // The project doesn't have a cordaCompile configuration, so there aren't any cordaCompile dependencies.
|
||||
}
|
||||
}.flatten()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user