buildscript { repositories { jcenter() } dependencies { classpath "com.github.jengelman.gradle.plugins:shadow:$shadow_version" } } apply plugin: 'kotlin' apply plugin: 'application' apply plugin: 'com.github.johnrengelman.shadow' dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile "info.picocli:picocli:3.0.1" testCompile "junit:junit:$junit_version" } mainClassName = "net.corda.avalanche.MainKt" shadowJar { baseName = "avalanche" }