corda/node-schemas/build.gradle

36 lines
741 B
Groovy

apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'
apply plugin: 'net.corda.plugins.publish-utils'
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"
}