2016-02-11 14:55:52 +00:00
|
|
|
apply plugin: 'kotlin'
|
2017-02-16 11:02:36 +00:00
|
|
|
// Java Persistence API support: create no-arg constructor
|
|
|
|
// see: http://stackoverflow.com/questions/32038177/kotlin-with-jpa-default-constructor-hell
|
|
|
|
apply plugin: 'kotlin-jpa'
|
2016-02-11 14:55:52 +00:00
|
|
|
apply plugin: CanonicalizerPlugin
|
2016-11-18 14:41:06 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
2017-08-15 08:14:15 +00:00
|
|
|
apply plugin: 'net.corda.plugins.cordformation'
|
2017-06-26 17:07:56 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2016-02-11 14:55:52 +00:00
|
|
|
|
2016-12-06 10:49:46 +00:00
|
|
|
description 'Corda finance modules'
|
|
|
|
|
2016-02-11 14:55:52 +00:00
|
|
|
dependencies {
|
2017-08-15 08:14:15 +00:00
|
|
|
// Note the :finance module is a CorDapp in its own right
|
|
|
|
// and CorDapps using :finance features should use 'cordapp' not 'compile' linkage.
|
|
|
|
cordaCompile project(':core')
|
2017-09-18 13:19:20 +00:00
|
|
|
cordaCompile project(':confidential-identities')
|
2016-05-19 09:25:18 +00:00
|
|
|
|
2016-08-30 12:50:02 +00:00
|
|
|
testCompile project(':test-utils')
|
2017-03-24 13:33:54 +00:00
|
|
|
testCompile project(path: ':core', configuration: 'testArtifacts')
|
2017-01-03 14:15:23 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2017-03-23 17:32:14 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
|
2017-06-22 09:35:49 +00:00
|
|
|
configurations {
|
|
|
|
testArtifacts.extendsFrom testRuntime
|
|
|
|
}
|
|
|
|
|
|
|
|
task testJar(type: Jar) {
|
|
|
|
classifier "tests"
|
|
|
|
from sourceSets.test.output
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
testArtifacts testJar
|
|
|
|
}
|
|
|
|
|
2017-06-06 14:05:47 +00:00
|
|
|
jar {
|
|
|
|
baseName 'corda-finance'
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-08-29 08:56:26 +00:00
|
|
|
}
|