mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
33 lines
891 B
Groovy
33 lines
891 B
Groovy
|
apply plugin: 'java'
|
||
|
apply plugin: 'kotlin'
|
||
|
|
||
|
description 'NetworkParameters 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 = "netparams"
|
||
|
manifest {
|
||
|
attributes(
|
||
|
'Main-Class': 'net.corda.netparams.NetParamsKt'
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
processResources {
|
||
|
from file("$rootDir/config/dev/log4j2.xml")
|
||
|
from file("$rootDir/node-api/src/main/resources/certificates/cordadevcakeys.jks")
|
||
|
}
|