mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
20 lines
489 B
Groovy
20 lines
489 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'application'
|
|
// We need to set mainClassName before applying the shadow plugin.
|
|
mainClassName = "net.corda.avalanche.MainKt"
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
compile "info.picocli:picocli:$picocli_version"
|
|
testCompile "junit:junit:$junit_version"
|
|
}
|
|
|
|
jar.enabled = false
|
|
|
|
shadowJar {
|
|
baseName = "avalanche"
|
|
}
|
|
assemble.dependsOn shadowJar
|