mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
37 lines
1.3 KiB
Groovy
37 lines
1.3 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
compile project(':finance')
|
|
testCompile project(':test-utils')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
// 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"
|
|
|
|
testCompile project(path: ':core', configuration: 'testArtifacts')
|
|
testCompile "junit:junit:$junit_version"
|
|
|
|
// 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"
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-jackson'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
} |