corda/node-schemas/build.gradle

37 lines
807 B
Groovy
Raw Normal View History

apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'
apply plugin: 'idea'
apply plugin: 'net.corda.plugins.publish-utils'
2017-06-26 17:07:56 +00:00
apply plugin: 'com.jfrog.artifactory'
description 'Corda node database schemas'
dependencies {
compile project(':core')
// Requery: SQL based query & persistence for Kotlin
kapt "io.requery:requery-processor:$requery_version"
testCompile project(':test-utils')
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
testCompile "junit:junit:$junit_version"
// For H2 database support in persistence
testCompile "com.h2database:h2:$h2_version"
}
sourceSets {
main {
kotlin {
srcDir "$buildDir/generated/source/kapt/main"
}
}
}
jar {
baseName 'corda-node-schemas'
}
publish {
name = jar.baseName
}