vtm/vtm/build.gradle
2014-03-27 03:14:02 +01:00

26 lines
598 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.resources.srcDirs = ['resources']
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
}
}