mirror of
https://github.com/corda/corda.git
synced 2025-02-23 10:30:24 +00:00
Node API: relocate licence file (#1100)
This commit is contained in:
parent
75e30c8114
commit
c32b7b1331
@ -89,6 +89,10 @@ shadowJar {
|
||||
baseName jar.baseName
|
||||
configurations = [project.configurations.shadow]
|
||||
classifier ""
|
||||
// The 'LICENSE' file gets pulled in from multiple dependencies when generating the shadow JAR,
|
||||
// and there's also a folder called 'license' being placed in the JAR. On case-insensitive file
|
||||
// systems, the folder and file end up clashing, causing an error when trying to build the JAR.
|
||||
relocate 'META-INF/LICENSE', 'META-INF/LICENCE-2'
|
||||
dependencies {
|
||||
include(dependency("org.apache.curator:curator-client:${curator_version}"))
|
||||
include(dependency("org.apache.curator:curator-recipes:${curator_version}"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user