diff --git a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy index cdce17fc6c..cfc1ecf8a2 100644 --- a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy +++ b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy @@ -191,11 +191,10 @@ class Node { */ private void installDependencies() { def cordaJar = verifyAndGetCordaJar() - def cordappDeps = getCordappList() def depsDir = new File(nodeDir, "dependencies") def coreDeps = project.zipTree(cordaJar).getFiles().collect { it.getName() } def appDeps = project.configurations.runtime.filter { - it != cordaJar && !cordappDeps.contains(it) && !coreDeps.contains(it.getName()) + it != cordaJar && !project.configurations.cordapp.contains(it) && !coreDeps.contains(it.getName()) } project.copy { from appDeps @@ -250,7 +249,7 @@ class Node { */ private Collection getCordappList() { return project.configurations.cordapp.files { - cordapps.contains("${it.group}:${it.name}:${it.version}") + cordapps.contains(it.group + ":" + it.name + ":" + it.version) } } } diff --git a/publish.properties b/publish.properties index f3bffdda51..3ef028a7d8 100644 --- a/publish.properties +++ b/publish.properties @@ -1 +1 @@ -gradlePluginsVersion=0.7.1 +gradlePluginsVersion=0.8