mirror of
https://github.com/corda/corda.git
synced 2024-12-27 00:21:12 +00:00
d60feb1138
Integrate YAML profile support, and the eagle-eyed will notice that the plugin no longer needs to be applied at the very bottom of the build.gradle file! Other features include: * Implicit upgrade to docker-remote-api plugin v5.3.0 * Fixing a ClassGraph-related memory leak by closing the ScanResult objects after use. * More logging of any exceptions from Kubenetese. * The gradlecache volume is now created with a hostPath of "/gradle/$podName/$podIdx-$taskForExecuteName", which should allow having multiple pods on a single node.
43 lines
1.3 KiB
Groovy
43 lines
1.3 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
}
|
|
|
|
configurations {
|
|
testData
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation project(':core')
|
|
testImplementation project(':finance:workflows')
|
|
testImplementation project(':node-driver')
|
|
testImplementation project(path: ':core-deterministic:testing:verifier', configuration: 'runtimeArtifacts')
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
testImplementation "org.jetbrains.kotlin:kotlin-reflect"
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
|
}
|
|
|
|
tasks.named('jar', Jar) {
|
|
enabled = false
|
|
}
|
|
|
|
def test = tasks.named('test', Test) {
|
|
filter {
|
|
// Running this class is the whole point, so include it explicitly.
|
|
includeTestsMatching "net.corda.deterministic.data.GenerateData"
|
|
}
|
|
// force execution of these tests to generate artifacts required by other module (eg. VerifyTransactionTest)
|
|
// note: required by Gradle Build Cache.
|
|
outputs.upToDateWhen { false }
|
|
}
|
|
|
|
def testDataJar = file("$buildDir/test-data.jar")
|
|
artifacts {
|
|
archives file: testDataJar, type: 'jar', builtBy: test
|
|
testData file: testDataJar, type: 'jar', builtBy: test
|
|
}
|