NOTICK Make the projects under common not depend on anything Corda. (#6675)

This commit is contained in:
Christian Sailer 2020-09-03 10:45:35 +01:00 committed by GitHub
parent 3ce78b813d
commit 4b84182ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -15,12 +15,18 @@ dependencies {
compile "com.jcabi:jcabi-manifests:$jcabi_manifests_version" compile "com.jcabi:jcabi-manifests:$jcabi_manifests_version"
testCompile project(":test-utils") // Need to depend on one other Corda project in order to get hold of a valid manifest for the tests
testCompile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version" testCompile project(":common-validation")
// test dependencies
testImplementation "junit:junit:$junit_version"
testCompile group: "org.jetbrains.kotlin", name: "kotlin-test", version: kotlin_version
testCompile "org.mockito:mockito-core:$mockito_version" testCompile "org.mockito:mockito-core:$mockito_version"
testCompile "com.natpryce:hamkrest:$hamkrest_version"
} }
task generateSource(type: Copy) { task generateSource(type: Copy) {
from 'src/main/template' from 'src/main/template'
filter(ReplaceTokens, tokens: [corda_release_version: corda_release_version]) filter(ReplaceTokens, tokens: [corda_release_version: corda_release_version])

View File

@ -6,8 +6,6 @@ apply plugin: 'com.jfrog.artifactory'
dependencies { dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile project(":test-utils")
} }
jar { jar {