mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
232db9a1fd
This moves a lot of the test support code into its own package which is only imported for tests, so it's not shipped as a part of core Corda. The node currently depends on this support code to compile, although future work could try to separate this out. This change highlights that parts of production code is dependent on test elements (i.e. dummy keys), and makes it harder for such accidental crosses to occur later. An integration test category is also added as part of this work, to contribute towards COR-345.
41 lines
1.1 KiB
Groovy
41 lines
1.1 KiB
Groovy
apply plugin: 'kotlin'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
}
|
|
jcenter()
|
|
maven {
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
}
|
|
}
|
|
|
|
//noinspection GroovyAssignabilityCheck
|
|
configurations {
|
|
|
|
// we don't want isolated.jar in classPath, since we want to test jar being dynamically loaded as an attachment
|
|
runtime.exclude module: 'isolated'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
|
|
// Log4J: logging framework (with SLF4J bindings)
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
|
|
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
compile "com.google.guava:guava:19.0"
|
|
|
|
// Force commons logging to version 1.2 to override Artemis, which pulls in 1.1.3 (ARTEMIS-424)
|
|
compile "commons-logging:commons-logging:1.2"
|
|
|
|
// Unit testing helpers.
|
|
compile 'junit:junit:4.12'
|
|
}
|