mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
Fixed most duplicate dependencies between cordapps and the corda.jar.
This commit is contained in:
parent
c3c0b4b25a
commit
426bae625a
@ -206,8 +206,10 @@ class Node {
|
||||
def cordaJar = verifyAndGetCordaJar()
|
||||
def cordappDeps = getCordappList()
|
||||
def depsDir = new File(nodeDir, "dependencies")
|
||||
def coreDeps = project.zipTree(cordaJar)
|
||||
def appDeps = project.configurations.runtime.filter { it != cordaJar && !cordappDeps.contains(it) }.minus(coreDeps)
|
||||
def coreDeps = project.zipTree(cordaJar).getFiles().collect { it.getName() }
|
||||
def appDeps = project.configurations.runtime.filter {
|
||||
it != cordaJar && !cordappDeps.contains(it) && !coreDeps.contains(it.getName())
|
||||
}
|
||||
project.copy {
|
||||
from appDeps
|
||||
into depsDir
|
||||
|
Loading…
Reference in New Issue
Block a user