2019-08-01 08:40:52 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'idea'
|
2019-10-04 13:28:42 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2019-08-01 08:40:52 +00:00
|
|
|
|
|
|
|
description 'A javaagent to allow hooking into Kryo checkpoints'
|
|
|
|
|
|
|
|
dependencies {
|
2024-10-29 10:55:59 +00:00
|
|
|
compile "org.javassist:javassist:$javaassist_version"
|
2020-08-14 09:56:37 +00:00
|
|
|
compileOnly "com.esotericsoftware:kryo:$kryo_version"
|
2019-08-01 08:40:52 +00:00
|
|
|
|
2020-08-14 09:56:37 +00:00
|
|
|
compileOnly (project(':core')) {
|
2024-10-29 10:55:59 +00:00
|
|
|
transitive = true
|
2019-08-01 08:40:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
2019-10-04 13:28:42 +00:00
|
|
|
archiveBaseName = "${project.name}"
|
2019-08-01 08:40:52 +00:00
|
|
|
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) } }
|
|
|
|
}
|
2019-10-04 13:28:42 +00:00
|
|
|
|
|
|
|
publish {
|
|
|
|
name 'corda-tools-checkpoint-agent'
|
|
|
|
}
|