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"
|
2019-05-15 15:40:12 +00:00
|
|
|
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
2019-05-20 10:57:56 +00:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
2019-05-15 15:40:12 +00:00
|
|
|
|
2019-05-20 10:57:56 +00:00
|
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
2019-05-15 15:40:12 +00:00
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_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
|