mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
46 lines
1.1 KiB
Groovy
46 lines
1.1 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'net.corda.plugins.cordapp'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
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'
|
|
}
|
|
|
|
cordapp {
|
|
info {
|
|
name "net/corda/experimental/notary-raft"
|
|
vendor "Corda Open Source"
|
|
targetPlatformVersion corda_platform_version.toInteger()
|
|
minimumPlatformVersion 1
|
|
}
|
|
}
|