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-02-17 12:53:44 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2017-02-16 11:02:36 +00:00
|
|
|
|
|
|
|
description 'Corda node database schemas'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
2017-03-22 15:52:54 +00:00
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
2017-03-23 17:32:14 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2017-02-16 11:02:36 +00:00
|
|
|
|
|
|
|
// Requery: SQL based query & persistence for Kotlin
|
|
|
|
kapt "io.requery:requery-processor:$requery_version"
|
|
|
|
|
|
|
|
// 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 {
|
|
|
|
srcDir "$buildDir/generated/source/kapt/main"
|
|
|
|
}
|
2017-03-21 15:24:21 +00:00
|
|
|
}
|
|
|
|
}
|