CORDA-2030: Resolve build warnings created by adding kotlin-stdlib-jre8 to node. (#4033)

This commit is contained in:
Chris Rankin 2018-10-05 11:01:27 +01:00 committed by GitHub
parent bffac331a3
commit d75fd7bd8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,10 @@ description 'Testing utilities for Corda'
dependencies {
compile project(':test-common')
compile project(':node')
compile(project(':node')) {
// The Node only needs this for binary compatibility with Cordapps written in Kotlin 1.1.
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jre8'
}
compile project(':client:mock')
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

View File

@ -16,6 +16,9 @@ configurations {
compile {
exclude group: "log4j", module: "log4j"
exclude group: "org.apache.logging.log4j"
// The Node only needs this for binary compatibility with Cordapps written in Kotlin 1.1.
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jre8'
}
}