mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Merged in clint-dupedepsfix (pull request #583)
Fixed most duplicate dependencies between cordapps and the corda.jar.
This commit is contained in:
commit
fb41300ce0
@ -2,7 +2,7 @@ buildscript {
|
||||
// Our version: bump this on release.
|
||||
ext.corda_version = "0.6-SNAPSHOT"
|
||||
|
||||
ext.gradle_plugins_version = "0.5.6"
|
||||
ext.gradle_plugins_version = "0.5.7"
|
||||
ext.kotlin_version = '1.0.5'
|
||||
ext.quasar_version = '0.7.6'
|
||||
ext.asm_version = '0.5.3'
|
||||
|
@ -2,7 +2,7 @@
|
||||
// or if you are developing these plugins. See the readme for more information.
|
||||
|
||||
buildscript {
|
||||
ext.gradle_plugins_version = "0.5.6" // Our version: bump this on release.
|
||||
ext.gradle_plugins_version = "0.5.7" // Our version: bump this on release.
|
||||
ext.corda_published_version = "0.5" // Depend on our existing published publishing plugin.
|
||||
|
||||
repositories {
|
||||
|
@ -206,7 +206,10 @@ class Node {
|
||||
def cordaJar = verifyAndGetCordaJar()
|
||||
def cordappDeps = getCordappList()
|
||||
def depsDir = new File(nodeDir, "dependencies")
|
||||
def appDeps = project.configurations.runtime.filter { it != cordaJar && !cordappDeps.contains(it) }
|
||||
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