mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
Cordapps now exclude the META-INF of dependencies.
This commit is contained in:
parent
8fc76b3803
commit
68068e5640
@ -1,4 +1,4 @@
|
|||||||
gradlePluginsVersion=0.13.1
|
gradlePluginsVersion=0.13.2
|
||||||
kotlinVersion=1.1.1
|
kotlinVersion=1.1.1
|
||||||
guavaVersion=21.0
|
guavaVersion=21.0
|
||||||
bouncycastleVersion=1.57
|
bouncycastleVersion=1.57
|
||||||
|
@ -24,7 +24,9 @@ class Cordformation implements Plugin<Project> {
|
|||||||
// Note: project.afterEvaluate did not have full dependency resolution completed, hence a task is used instead
|
// Note: project.afterEvaluate did not have full dependency resolution completed, hence a task is used instead
|
||||||
def task = project.task('configureCordappFatJar') {
|
def task = project.task('configureCordappFatJar') {
|
||||||
doLast {
|
doLast {
|
||||||
project.tasks.jar.from getDirectNonCordaDependencies(project).collect { project.zipTree(it) }.flatten()
|
project.tasks.jar.from getDirectNonCordaDependencies(project).collect {
|
||||||
|
project.zipTree(it).matching { exclude { it.path.contains('META-INF') } }
|
||||||
|
}.flatten()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
project.tasks.jar.dependsOn task
|
project.tasks.jar.dependsOn task
|
||||||
|
Loading…
Reference in New Issue
Block a user