mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
aced03df54
FastClasspathScanner was renamed to ClassGraph for the version 4 release
58 lines
1.4 KiB
Groovy
58 lines
1.4 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}"
|
|
|
|
compile "org.ow2.asm:asm:$asm_version"
|
|
|
|
compile "com.google.guava:guava:$guava_version"
|
|
|
|
// For AMQP serialisation.
|
|
compile "org.apache.qpid:proton-j:$protonj_version"
|
|
|
|
// ClassGraph: classpath scanning
|
|
compile "io.github.classgraph:classgraph:$class_graph_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
|
|
}
|