2018-10-10 09:04:22 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'net.corda.plugins.cordapp'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2018-10-17 10:34:03 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2018-10-10 09:04:22 +00:00
|
|
|
|
|
|
|
configurations {
|
|
|
|
integrationTestCompile.extendsFrom testCompile
|
|
|
|
integrationTestRuntime.extendsFrom testRuntime
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
cordaCompile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
|
|
|
|
|
|
// Corda integration dependencies
|
|
|
|
cordaCompile project(':node')
|
|
|
|
|
|
|
|
// Java Atomix: RAFT library
|
|
|
|
compile 'io.atomix.copycat:copycat-client:1.2.8'
|
|
|
|
compile 'io.atomix.copycat:copycat-server:1.2.8'
|
|
|
|
compile 'io.atomix.catalyst:catalyst-netty:1.2.1'
|
|
|
|
|
|
|
|
testCompile "junit:junit:$junit_version"
|
|
|
|
testCompile project(':node-driver')
|
|
|
|
}
|
|
|
|
|
|
|
|
idea {
|
|
|
|
module {
|
|
|
|
downloadJavadoc = true // defaults to false
|
|
|
|
downloadSources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
|
|
|
name 'corda-notary-raft'
|
|
|
|
}
|
2018-10-15 20:11:52 +00:00
|
|
|
|
|
|
|
cordapp {
|
|
|
|
info {
|
|
|
|
name "net/corda/experimental/notary-raft"
|
|
|
|
vendor "Corda Open Source"
|
|
|
|
targetPlatformVersion corda_platform_version.toInteger()
|
|
|
|
minimumPlatformVersion 1
|
|
|
|
}
|
|
|
|
}
|