2018-07-04 14:42:43 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'application'
|
2018-09-13 09:55:52 +00:00
|
|
|
// We need to set mainClassName before applying the shadow plugin.
|
|
|
|
mainClassName = "net.corda.avalanche.MainKt"
|
|
|
|
|
2018-07-04 14:42:43 +00:00
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
|
2018-06-04 12:33:34 +00:00
|
|
|
dependencies {
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2018-09-13 09:55:52 +00:00
|
|
|
compile "info.picocli:picocli:$picocli_version"
|
2018-07-04 14:42:43 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2018-06-04 12:33:34 +00:00
|
|
|
}
|
2018-07-04 14:42:43 +00:00
|
|
|
|
2018-09-13 09:55:52 +00:00
|
|
|
jar.enabled = false
|
|
|
|
|
2018-06-04 12:33:34 +00:00
|
|
|
shadowJar {
|
|
|
|
baseName = "avalanche"
|
|
|
|
}
|
2018-09-13 09:55:52 +00:00
|
|
|
assemble.dependsOn shadowJar
|