2017-03-17 10:33:01 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2017-06-26 17:07:56 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2017-03-17 10:33:01 +00:00
|
|
|
|
2017-11-28 18:12:48 +00:00
|
|
|
description 'Corda node API'
|
2017-03-17 10:33:01 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
|
2017-03-30 15:27:01 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
2017-03-17 10:33:01 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
2017-03-22 15:52:54 +00:00
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
2017-10-26 11:16:57 +00:00
|
|
|
|
|
|
|
// TODO: remove the forced update of commons-collections and beanutils when artemis updates them
|
|
|
|
compile "org.apache.commons:commons-collections4:${commons_collections_version}"
|
|
|
|
compile "commons-beanutils:commons-beanutils:${beanutils_version}"
|
2017-03-17 10:33:01 +00:00
|
|
|
compile "org.apache.activemq:artemis-core-client:${artemis_version}"
|
|
|
|
compile "org.apache.activemq:artemis-commons:${artemis_version}"
|
|
|
|
|
2017-03-22 15:52:54 +00:00
|
|
|
// For adding serialisation of file upload streams to RPC
|
|
|
|
// TODO: Remove this dependency and the code that requires it
|
|
|
|
compile "commons-fileupload:commons-fileupload:$fileupload_version"
|
|
|
|
|
2017-10-18 12:49:32 +00:00
|
|
|
compile "net.corda.plugins:cordform-common:$gradle_plugins_version"
|
|
|
|
|
2017-03-17 10:33:01 +00:00
|
|
|
// TypeSafe Config: for simple and human friendly config files.
|
|
|
|
compile "com.typesafe:config:$typesafe_config_version"
|
2017-04-07 10:23:25 +00:00
|
|
|
|
2017-08-09 13:53:46 +00:00
|
|
|
// Kryo: object graph serialization.
|
|
|
|
compile "com.esotericsoftware:kryo:4.0.0"
|
|
|
|
compile "de.javakaffee:kryo-serializers:0.41"
|
|
|
|
|
2017-08-18 08:17:03 +00:00
|
|
|
// For AMQP serialisation.
|
2017-09-05 12:35:48 +00:00
|
|
|
compile "org.apache.qpid:proton-j:0.21.0"
|
2017-08-18 08:17:03 +00:00
|
|
|
|
2018-02-20 11:09:23 +00:00
|
|
|
// FastClasspathScanner: classpath scanning - needed for the NetworkBootstraper
|
|
|
|
compile 'io.github.lukehutch:fast-classpath-scanner:2.0.21'
|
|
|
|
|
2017-04-07 10:23:25 +00:00
|
|
|
// Unit testing helpers.
|
|
|
|
testCompile "junit:junit:$junit_version"
|
2017-09-22 15:45:48 +00:00
|
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
|
|
testCompile project(':node-driver')
|
2017-03-17 10:33:01 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-node-api'
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-06-06 14:05:47 +00:00
|
|
|
}
|