mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
94f73920cc
* Doorman and HSM create certificate base on requested cert role specified in the certificate signing request.
64 lines
1.6 KiB
Groovy
64 lines
1.6 KiB
Groovy
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'us.kirchmeier.capsule'
|
|
apply plugin: 'kotlin'
|
|
|
|
description 'Network registration tool'
|
|
|
|
version project(':network-management').version
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
}
|
|
jcenter()
|
|
maven {
|
|
url 'http://ci-artifactory.corda.r3cev.com/artifactory/corda-dev'
|
|
}
|
|
maven {
|
|
url 'http://ci-artifactory.corda.r3cev.com/artifactory/corda-releases'
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
runtimeArtifacts.extendsFrom runtime
|
|
integrationTestCompile.extendsFrom testCompile
|
|
integrationTestRuntime.extendsFrom testRuntime
|
|
}
|
|
|
|
task buildRegistrationTool(type: FatCapsule, dependsOn: 'jar') {
|
|
group = "build"
|
|
applicationClass 'com.r3.corda.networkmanage.RegistrationToolKt'
|
|
archiveName "registration-tool-${version}.jar"
|
|
capsuleManifest {
|
|
applicationVersion = corda_release_version
|
|
systemProperties['visualvm.display.name'] = 'Corda Network Registration Tool'
|
|
minJavaVersion = '1.8.0'
|
|
}
|
|
applicationSource = files(
|
|
project(':network-management:registration-tool').configurations.runtime,
|
|
project(':network-management:registration-tool').jar
|
|
)
|
|
}
|
|
|
|
artifacts {
|
|
runtimeArtifacts buildRegistrationTool
|
|
publish buildRegistrationTool
|
|
}
|
|
|
|
jar {
|
|
classifier "ignore"
|
|
}
|
|
|
|
publish {
|
|
name 'registration-tool'
|
|
disableDefaultJar = true
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':node')
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile "org.assertj:assertj-core:${assertj_version}"
|
|
}
|