mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
7b308eb45f
The Blob Writer is a small kotlin app that allows arbitrary things to be serialized and then those bytes written to a file, quite useful for working on non JVM parsing of such things. Along a similar vein, add a schema dumper alongside the blob-inspector to highlight the contents of the header
28 lines
707 B
Groovy
28 lines
707 B
Groovy
apply plugin : 'kotlin'
|
|
apply plugin : 'application'
|
|
|
|
mainClassName = "net.corda.blobwriter.BlobWriter.kt"
|
|
|
|
dependencies {
|
|
compile project(':tools:cliutils')
|
|
compile project(":common-logging")
|
|
compile project(':serialization')
|
|
|
|
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
}
|
|
|
|
jar {
|
|
from (configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
|
|
exclude "META-INF/*.SF"
|
|
exclude "META-INF/*.DSA"
|
|
exclude "META-INF/*.RSA"
|
|
}
|
|
baseName = "blobwriter"
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': 'net.corda.blobwriter.BlobWriterKt'
|
|
)
|
|
}
|
|
}
|