vtm/vtm/build.gradle
2014-03-01 15:58:08 +01:00

24 lines
556 B
Groovy

apply plugin: 'java'
apply plugin: 'maven'
configurations { providedCompile }
dependencies {
compile 'org.slf4j:slf4j-api:1.7.6'
providedCompile 'com.google.code.findbugs:annotations:2.0.1'
}
sourceSets {
main.java.srcDirs = ['src']
main.compileClasspath += configurations.providedCompile
}
//... there is probably a better way
eclipse.classpath {
plusConfigurations += configurations.providedCompile
file.whenMerged { classpath ->
classpath.entries.findAll { entry ->
entry.path.contains('annotations') }*.exported = false
}
}