mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
0ccfae252f
* POMs generated by publishing are now correct. The publish extension now requires an explicit call to configure the publishing instead of waiting until after evaluation. This prevents evaluation order issues with the artifact renaming code that causes the POM to have the original, incorrect, artifact names. * Fixed new test compile issues caused by removal of some dependencies in test utils that caused webserver code to be automatically included in any project also compiling test utils.
37 lines
805 B
Groovy
37 lines
805 B
Groovy
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'idea'
|
|
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
|
|
} |