2017-03-02 16:58:55 +00:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
2017-03-30 15:27:01 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
2017-03-22 15:52:54 +00:00
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
2017-03-02 17:42:59 +00:00
|
|
|
|
|
|
|
// Jackson and its plugins: parsing to/from JSON and other textual formats.
|
|
|
|
compile "com.fasterxml.jackson.module:jackson-module-kotlin:${jackson_version}"
|
|
|
|
// Yaml is useful for parsing strings to method calls.
|
|
|
|
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jackson_version"
|
|
|
|
// This adds support for java.time types.
|
|
|
|
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
|
|
|
|
2017-03-24 13:33:54 +00:00
|
|
|
testCompile project(path: ':core', configuration: 'testArtifacts')
|
2017-03-02 16:58:55 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2017-03-23 17:32:14 +00:00
|
|
|
|
|
|
|
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
|
|
|
// because it depends on org.javassist:javassist instead
|
|
|
|
// of javassist:javassist.
|
|
|
|
testCompile "com.pholser:junit-quickcheck-core:$quickcheck_version"
|
|
|
|
testCompile "com.pholser:junit-quickcheck-generators:$quickcheck_version"
|
2017-03-02 16:58:55 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-jackson'
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
|
|
|
name = jar.baseName
|
|
|
|
}
|