2017-03-02 16:58:55 +00:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2017-09-29 15:55:26 +00:00
|
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
2017-06-26 17:07:56 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2017-03-02 16:58:55 +00:00
|
|
|
|
|
|
|
dependencies {
|
2018-05-17 17:34:12 +00:00
|
|
|
compile project(':serialization')
|
2017-07-21 13:23:05 +00:00
|
|
|
testCompile project(':test-utils')
|
|
|
|
|
2018-02-07 12:16:16 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$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.
|
2018-02-07 12:16:16 +00:00
|
|
|
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version"
|
2017-03-02 17:42:59 +00:00
|
|
|
// 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-08-29 08:56:26 +00:00
|
|
|
compile "com.google.guava:guava:$guava_version"
|
2017-03-02 17:42:59 +00:00
|
|
|
|
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-06-06 14:05:47 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-jackson'
|
2017-10-06 14:37:33 +00:00
|
|
|
manifest {
|
|
|
|
attributes 'Automatic-Module-Name': 'net.corda.client.jackson'
|
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-06-06 14:05:47 +00:00
|
|
|
}
|