2017-07-18 11:34:56 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2017-02-16 11:02:36 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2017-03-21 15:24:21 +00:00
|
|
|
apply plugin: 'idea'
|
2017-06-26 17:07:56 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2017-02-16 11:02:36 +00:00
|
|
|
|
|
|
|
description 'Corda node database schemas'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
|
|
|
|
|
|
|
// Requery: SQL based query & persistence for Kotlin
|
|
|
|
kapt "io.requery:requery-processor:$requery_version"
|
|
|
|
|
2017-07-04 12:56:51 +00:00
|
|
|
testCompile project(':test-utils')
|
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
testCompile "junit:junit:$junit_version"
|
|
|
|
|
2017-02-16 11:02:36 +00:00
|
|
|
// For H2 database support in persistence
|
2017-03-20 10:27:45 +00:00
|
|
|
testCompile "com.h2database:h2:$h2_version"
|
2017-02-16 11:02:36 +00:00
|
|
|
}
|
2017-03-14 14:44:13 +00:00
|
|
|
|
2017-03-30 11:13:23 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
kotlin {
|
2017-04-11 10:43:25 +00:00
|
|
|
srcDir "$buildDir/generated/source/kapt/main"
|
2017-03-30 11:13:23 +00:00
|
|
|
}
|
2017-03-21 15:24:21 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-node-schemas'
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-03-21 15:24:21 +00:00
|
|
|
}
|