2017-02-16 11:02:36 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
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'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
kotlin {
|
|
|
|
srcDir "${buildDir}/generated/source/kapt/main/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
|
|
|
|
|
|
|
// Requery: SQL based query & persistence for Kotlin
|
|
|
|
kapt "io.requery:requery-processor:$requery_version"
|
|
|
|
|
|
|
|
// For H2 database support in persistence
|
|
|
|
testCompile "com.h2database:h2:1.4.193"
|
|
|
|
}
|