mirror of
https://github.com/corda/corda.git
synced 2024-12-27 16:28:56 +00:00
190232d1f2
Problem manifests now that the classpath scanner is used by the serialisation framework in factory initialization to locate pluggable serializers. The actual thrown error is java.lang.RuntimeException: Unknown constant pool tag Given this is a known issue and a fixed bug it makes sense to move the version forward. Unfortunately at this time we cannot move beyond 2.12.3 as 2.12.4 and later versions (up to the latest 2.18.1) exhibit some other error that needs investigating. Thus, move to the latest version that is stable for our current set of use cases. More information on the nature of the problem exhibited by moving beyond 2.12.3 can be found on the linked Jira (ENT-1665) as well as details on reproducing the issue moving forward to 2.12.3 fixes.
53 lines
1.8 KiB
Groovy
53 lines
1.8 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Corda node API'
|
|
|
|
dependencies {
|
|
compile project(":core")
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
// TODO: remove the forced update of commons-collections and beanutils when artemis updates them
|
|
compile "org.apache.commons:commons-collections4:${commons_collections_version}"
|
|
compile "commons-beanutils:commons-beanutils:${beanutils_version}"
|
|
compile "org.apache.activemq:artemis-core-client:${artemis_version}"
|
|
compile "org.apache.activemq:artemis-commons:${artemis_version}"
|
|
|
|
// For adding serialisation of file upload streams to RPC
|
|
// TODO: Remove this dependency and the code that requires it
|
|
compile "commons-fileupload:commons-fileupload:$fileupload_version"
|
|
|
|
compile "net.corda.plugins:cordform-common:$gradle_plugins_version"
|
|
|
|
// TypeSafe Config: for simple and human friendly config files.
|
|
compile "com.typesafe:config:$typesafe_config_version"
|
|
|
|
// Kryo: object graph serialization.
|
|
compile "com.esotericsoftware:kryo:4.0.0"
|
|
compile "de.javakaffee:kryo-serializers:0.41"
|
|
|
|
// For AMQP serialisation.
|
|
compile "org.apache.qpid:proton-j:0.21.0"
|
|
|
|
// FastClasspathScanner: classpath scanning - needed for the NetworkBootstraper
|
|
compile 'io.github.lukehutch:fast-classpath-scanner:2.12.3'
|
|
|
|
// Unit testing helpers.
|
|
testCompile "junit:junit:$junit_version"
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
testCompile project(':node-driver')
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-node-api'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|