mirror of
https://github.com/corda/corda.git
synced 2024-12-23 06:42:33 +00:00
71cb0f90ac
* CORDA-2833 nodeinfo signing tool * CORDA-2833 PR fixes * CORDA-2833 remove unused imports * CORDA-2833 documentation for example usage
33 lines
879 B
Groovy
33 lines
879 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
|
|
description 'NodeInfo signing tool'
|
|
|
|
dependencies {
|
|
compile project(':tools:cliutils')
|
|
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
compile "com.jcabi:jcabi-manifests:$jcabi_manifests_version"
|
|
compile project(':core')
|
|
compile project(':node-api')
|
|
}
|
|
|
|
jar {
|
|
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
|
|
exclude "META-INF/*.SF"
|
|
exclude "META-INF/*.DSA"
|
|
exclude "META-INF/*.RSA"
|
|
}
|
|
baseName = "nodeinfo"
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': 'net.corda.nodeinfo.NodeInfoKt'
|
|
)
|
|
}
|
|
}
|
|
|
|
processResources {
|
|
from file("$rootDir/config/dev/log4j2.xml")
|
|
from file("$rootDir/node-api/src/main/resources/certificates/cordadevcakeys.jks")
|
|
}
|