mirror of
https://github.com/corda/corda.git
synced 2024-12-23 14:52:29 +00:00
36 lines
741 B
Groovy
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"
|
|
}
|