mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
Create testArtifacts configuration for 'core' module. (#425)
This commit is contained in:
parent
6a21de74b3
commit
19ee4f2d7b
@ -23,7 +23,7 @@ dependencies {
|
||||
// This adds support for java.time types.
|
||||
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
||||
|
||||
testCompile project(':core').sourceSets.test.output
|
||||
testCompile project(path: ':core', configuration: 'testArtifacts')
|
||||
testCompile "junit:junit:$junit_version"
|
||||
|
||||
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
||||
|
@ -100,8 +100,21 @@ dependencies {
|
||||
compile "io.requery:requery-kotlin:$requery_version"
|
||||
}
|
||||
|
||||
configurations.compile {
|
||||
// We want to use SLF4J's version of these binding: jcl-over-slf4j
|
||||
// Remove any transitive dependency on Apache's version.
|
||||
exclude group: 'commons-logging', module: 'commons-logging'
|
||||
configurations {
|
||||
compile {
|
||||
// We want to use SLF4J's version of these binding: jcl-over-slf4j
|
||||
// Remove any transitive dependency on Apache's version.
|
||||
exclude group: 'commons-logging', module: 'commons-logging'
|
||||
}
|
||||
|
||||
testArtifacts.extendsFrom testRuntime
|
||||
}
|
||||
|
||||
task testJar(type: Jar) {
|
||||
classifier "tests"
|
||||
from sourceSets.test.output
|
||||
}
|
||||
|
||||
artifacts {
|
||||
testArtifacts testJar
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ dependencies {
|
||||
compile project(':core')
|
||||
|
||||
testCompile project(':test-utils')
|
||||
testCompile project(':core').sourceSets.test.output
|
||||
testCompile project(path: ':core', configuration: 'testArtifacts')
|
||||
testCompile "junit:junit:$junit_version"
|
||||
|
||||
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
||||
|
Loading…
x
Reference in New Issue
Block a user