mirror of
https://github.com/corda/corda.git
synced 2025-02-11 13:16:10 +00:00
34 lines
940 B
Groovy
34 lines
940 B
Groovy
apply plugin: 'kotlin'
|
|
// Java Persistence API support: create no-arg constructor
|
|
// see: http://stackoverflow.com/questions/32038177/kotlin-with-jpa-default-constructor-hell
|
|
apply plugin: 'kotlin-jpa'
|
|
apply plugin: CanonicalizerPlugin
|
|
|
|
description 'Corda finance module - testing contracts'
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
compile project(':confidential-identities')
|
|
|
|
// For JSON
|
|
compile "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
|
|
|
|
compile project(':test-utils')
|
|
compile project(path: ':core', configuration: 'testArtifacts')
|
|
compile "junit:junit:$junit_version"
|
|
|
|
// AssertJ: for fluent assertions for testing
|
|
compile "org.assertj:assertj-core:$assertj_version"
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-finance-test-contracts'
|
|
manifest {
|
|
attributes('Corda-Revision': 'n/a')
|
|
attributes('Corda-Vendor': 'Corda Open Source')
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
} |