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")
|
2018-05-17 15:18:07 +00:00
|
|
|
compile project(":serialization") // TODO Remove this once the NetworkBootstrapper class is moved into the tools:bootstrapper module
|
2019-05-09 16:25:21 +00:00
|
|
|
compile project(':common-configuration-parsing') // TODO Remove this dependency once NetworkBootsrapper is moved into tools:bootstrapper
|
2017-03-17 10:33:01 +00:00
|
|
|
|
2018-04-24 13:03:41 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2017-03-17 10:33:01 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$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}"
|
|
|
|
|
|
|
|
// TypeSafe Config: for simple and human friendly config files.
|
|
|
|
compile "com.typesafe:config:$typesafe_config_version"
|
2017-04-07 10:23:25 +00:00
|
|
|
|
2018-05-09 12:37:04 +00:00
|
|
|
compile "org.apache.qpid:proton-j:$protonj_version"
|
2017-08-18 08:17:03 +00:00
|
|
|
|
2019-02-20 11:28:32 +00:00
|
|
|
// SQL connection pooling library
|
|
|
|
compile "com.zaxxer:HikariCP:$hikari_version"
|
|
|
|
|
2018-10-11 18:50:26 +00:00
|
|
|
// ClassGraph: classpath scanning
|
|
|
|
compile "io.github.classgraph:classgraph:$class_graph_version"
|
2018-02-23 14:29:02 +00:00
|
|
|
|
2018-03-14 16:07:31 +00:00
|
|
|
// For caches rather than guava
|
|
|
|
compile "com.github.ben-manes.caffeine:caffeine:$caffeine_version"
|
|
|
|
|
2018-08-23 15:30:02 +00:00
|
|
|
// For db migration
|
|
|
|
compile "org.liquibase:liquibase-core:$liquibase_version"
|
|
|
|
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
|
|
|
|
runtime 'com.mattbertolini:liquibase-slf4j:2.0.0'
|
|
|
|
|
2019-05-15 15:40:12 +00:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
|
|
|
|
|
|
|
testImplementation "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
2017-04-07 10:23:25 +00:00
|
|
|
// Unit testing helpers.
|
2017-09-22 15:45:48 +00:00
|
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
2018-05-17 15:18:07 +00:00
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
2017-09-22 15:45:48 +00:00
|
|
|
testCompile project(':node-driver')
|
2018-05-17 08:59:30 +00:00
|
|
|
|
|
|
|
compile ("org.apache.activemq:artemis-amqp-protocol:${artemis_version}") {
|
|
|
|
// Gains our proton-j version from core module.
|
|
|
|
exclude group: 'org.apache.qpid', module: 'proton-j'
|
|
|
|
}
|
2017-03-17 10:33:01 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
|
2018-03-20 16:23:29 +00:00
|
|
|
configurations {
|
2018-05-15 11:35:00 +00:00
|
|
|
testArtifacts.extendsFrom testRuntime
|
2018-03-20 16:23:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
task testJar(type: Jar) {
|
|
|
|
classifier "tests"
|
|
|
|
from sourceSets.test.output
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
testArtifacts testJar
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|