mirror of
https://github.com/corda/corda.git
synced 2024-12-26 08:01:09 +00:00
3cdd908714
node-api now depends on this module and upcoming changes will use this as well rather than having to depend on node-api. EnumEvolveTests.deserializeWithRename and EnumEvolveTests.multiOperations are temporarily ignored since their test resources can't be regenerated due to bugs.
59 lines
1.5 KiB
Groovy
59 lines
1.5 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Corda serialization'
|
|
|
|
dependencies {
|
|
compile project(":core")
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
|
|
compile "org.apache.activemq:artemis-commons:${artemis_version}"
|
|
|
|
// Kryo: object graph serialization.
|
|
compile "com.esotericsoftware:kryo:4.0.0"
|
|
compile "de.javakaffee:kryo-serializers:0.41"
|
|
compile "org.ow2.asm:asm:$asm_version"
|
|
|
|
// For AMQP serialisation.
|
|
compile "org.apache.qpid:proton-j:$protonj_version"
|
|
|
|
// FastClasspathScanner: classpath scanning
|
|
compile "io.github.lukehutch:fast-classpath-scanner:$fast_classpath_scanner_version"
|
|
|
|
// Pure-Java Snappy compression
|
|
compile "org.iq80.snappy:snappy:$snappy_version"
|
|
|
|
// For caches rather than guava
|
|
compile "com.github.ben-manes.caffeine:caffeine:$caffeine_version"
|
|
|
|
// Unit testing helpers.
|
|
testCompile "junit:junit:$junit_version"
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
testCompile project(':node-driver')
|
|
}
|
|
|
|
configurations {
|
|
testArtifacts.extendsFrom testRuntime
|
|
}
|
|
|
|
task testJar(type: Jar) {
|
|
classifier "tests"
|
|
from sourceSets.test.output
|
|
}
|
|
|
|
artifacts {
|
|
testArtifacts testJar
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-serialization'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|