mirror of
https://github.com/corda/corda.git
synced 2024-12-24 23:26:48 +00:00
b9f7c1a08a
* Tweak JUnit 5 configurations to keep vintage engine off compile classpaths. * Configure Gradle tests to use JUnit 5.
26 lines
851 B
Groovy
26 lines
851 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"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
|
testImplementation "junit:junit:$junit_version"
|
|
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
|
}
|
|
|
|
jar.enabled = false
|
|
|
|
shadowJar {
|
|
baseName = "avalanche"
|
|
}
|
|
assemble.dependsOn shadowJar
|