configurations {
provided {
description = 'much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive.'
transitive = true
visible = true
}
}
project.sourceSets {
main.compileClasspath += project.configurations.provided
main.runtimeClasspath -= project.configurations.provided
test.compileClasspath += project.configurations.provided
test.runtimeClasspath += project.configurations.provided
}
dependencies {
compile 'org.clojure:clojure:1.5.1'
compile 'org.clojure:data.json:0.2.2'
compile 'clj-time:clj-time:0.5.0'
compile 'instaparse:instaparse:1.2.14'
compile 'com.taoensso:nippy:2.5.2'
compile 'rhizome:rhizome:0.1.9'
compile 'com.netflix.rxjava:rxjava-core:0.9.2'
compile 'com.netflix.rxjava:rxjava-clojure:0.9.2'
provided 'org.apache.pig:pig:0.11.1'
provided 'org.apache.hadoop:hadoop-core:1.1.2'
// these are transitive dependencies that don't get picked up normally
provided 'commons-logging:commons-logging:1.1.3'
provided 'org.codehaus.jackson:jackson-core-asl:1.9.13'
}