mirror of
https://github.com/corda/corda.git
synced 2025-01-27 22:59:54 +00:00
46909feef9
Simplify DJVM Gradle files.
29 lines
852 B
Groovy
29 lines
852 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow'
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
implementation "com.jcabi:jcabi-manifests:$jcabi_manifests_version"
|
|
|
|
implementation "info.picocli:picocli:$picocli_version"
|
|
implementation project(path: ':djvm', configuration: 'shadow')
|
|
}
|
|
|
|
jar.enabled = false
|
|
|
|
shadowJar {
|
|
baseName = "corda-djvm"
|
|
classifier = 'cli'
|
|
manifest {
|
|
attributes(
|
|
'Automatic-Module-Name': 'net.corda.djvm',
|
|
'Main-Class': 'net.corda.djvm.tools.cli.Program',
|
|
'Build-Date': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
|
)
|
|
}
|
|
}
|
|
assemble.dependsOn shadowJar
|