Files
vtm/vtm/build.gradle
2016-07-07 20:16:33 +03:00

24 lines
633 B
Groovy

apply plugin: 'java'
apply plugin: 'maven'
configurations { providedCompile }
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
providedCompile 'com.google.code.findbugs:annotations:2.0.1'
providedCompile 'com.squareup.okhttp:okhttp:1.5.2'
}
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
main.compileClasspath += configurations.providedCompile
}
// Automated Gradle project deployment to Sonatype OSSRH
if (isReleaseVersion && project.hasProperty("SONATYPE_USERNAME")) {
afterEvaluate {
project.apply from: "${rootProject.projectDir}/deploy.gradle"
}
}