mirror of
https://github.com/corda/corda.git
synced 2025-06-02 07:30:53 +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.
|
// This adds support for java.time types.
|
||||||
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
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"
|
testCompile "junit:junit:$junit_version"
|
||||||
|
|
||||||
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
||||||
|
@ -100,8 +100,21 @@ dependencies {
|
|||||||
compile "io.requery:requery-kotlin:$requery_version"
|
compile "io.requery:requery-kotlin:$requery_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.compile {
|
configurations {
|
||||||
// We want to use SLF4J's version of these binding: jcl-over-slf4j
|
compile {
|
||||||
// Remove any transitive dependency on Apache's version.
|
// We want to use SLF4J's version of these binding: jcl-over-slf4j
|
||||||
exclude group: 'commons-logging', module: 'commons-logging'
|
// 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')
|
compile project(':core')
|
||||||
|
|
||||||
testCompile project(':test-utils')
|
testCompile project(':test-utils')
|
||||||
testCompile project(':core').sourceSets.test.output
|
testCompile project(path: ':core', configuration: 'testArtifacts')
|
||||||
testCompile "junit:junit:$junit_version"
|
testCompile "junit:junit:$junit_version"
|
||||||
|
|
||||||
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
// TODO: Upgrade to junit-quickcheck 0.8, once it is released,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user