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'
|
|
|
|
|
|
|
|
description 'Corda node Artemis API'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
resources {
|
|
|
|
srcDir "../config/test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
resources {
|
|
|
|
srcDir "../config/dev"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlinx:kotlinx-support-jdk8:0.3"
|
2017-03-22 15:52:54 +00:00
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_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-03-17 10:33:01 +00:00
|
|
|
// TypeSafe Config: for simple and human friendly config files.
|
|
|
|
compile "com.typesafe:config:$typesafe_config_version"
|
|
|
|
}
|
2017-03-17 12:27:25 +00:00
|
|
|
|
|
|
|
configurations.compile {
|
|
|
|
// We want to use SLF4J's version of these binding: jcl-over-slf4j
|
|
|
|
// Remove any transitive dependency on Apache's version.
|
|
|
|
exclude group: 'commons-logging', module: 'commons-logging'
|
|
|
|
}
|