mirror of
https://github.com/corda/corda.git
synced 2024-12-21 22:07:55 +00:00
2bd47a2122
* Added javassist as a runtime dependency * Removed javassist dependency in node
35 lines
981 B
Groovy
35 lines
981 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'A javaagent to allow hooking into Kryo checkpoints'
|
|
|
|
dependencies {
|
|
compile "org.javassist:javassist:$javaassist_version"
|
|
compileOnly "com.esotericsoftware:kryo:$kryo_version"
|
|
|
|
compileOnly (project(':core')) {
|
|
transitive = true
|
|
}
|
|
}
|
|
|
|
jar {
|
|
archiveBaseName = "${project.name}"
|
|
manifest {
|
|
attributes(
|
|
'Premain-Class': 'net.corda.tools.CheckpointAgent',
|
|
'Can-Redefine-Classes': 'true',
|
|
'Can-Retransform-Classes': 'true',
|
|
'Can-Set-Native-Method-Prefix': 'true',
|
|
'Implementation-Title': "CheckpointAgent",
|
|
'Implementation-Version': rootProject.version
|
|
)
|
|
}
|
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|
|
|
|
publish {
|
|
name 'corda-tools-checkpoint-agent'
|
|
}
|