Remove unwanted dependencies. (#441)

This commit is contained in:
Chris Rankin 2017-03-28 10:40:44 +01:00 committed by GitHub
parent dcbfe7bb5d
commit c9c4d1cd31

View File

@ -2,13 +2,7 @@ apply plugin: 'kotlin'
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'net.corda.plugins.publish-utils'
description 'Corda core'
buildscript {
repositories {
mavenCentral()
}
}
description 'Corda verifier'
repositories {
mavenLocal()
@ -54,7 +48,7 @@ dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-support-jdk8:0.3"
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
compile "org.apache.activemq:artemis-core-client:${artemis_version}"
// Log4J: logging framework (with SLF4J bindings)
@ -70,6 +64,12 @@ dependencies {
integrationTestCompile "org.apache.activemq:artemis-server:${artemis_version}"
}
configurations.compile {
// We want to use SLF4J's version of these bindings: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}
task standaloneJar(type: Jar) {
// Create a fat jar by packing all deps into the output
from {