mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
b9f7c1a08a
* Tweak JUnit 5 configurations to keep vintage engine off compile classpaths. * Configure Gradle tests to use JUnit 5.
42 lines
1.5 KiB
Groovy
42 lines
1.5 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
dependencies {
|
|
compile project(':serialization')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
// Jackson and its plugins: parsing to/from JSON and other textual formats.
|
|
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version"
|
|
// Yaml is useful for parsing strings to method calls.
|
|
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jackson_version"
|
|
// This adds support for java.time types.
|
|
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
|
compile "com.google.guava:guava:$guava_version"
|
|
|
|
testCompile project(':test-utils')
|
|
testCompile project(path: ':core', configuration: 'testArtifacts')
|
|
|
|
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}"
|
|
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-jackson'
|
|
manifest {
|
|
attributes 'Automatic-Module-Name': 'net.corda.client.jackson'
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
} |