From 885264ad8c00f22f7ea8c4553ab0fcf24bbd316b Mon Sep 17 00:00:00 2001
From: Emux <devemux86@gmail.com>
Date: Fri, 4 Nov 2016 22:06:32 +0200
Subject: [PATCH] Gradle: declare compile time only dependencies with Java
 plugin #229

---
 vtm/build.gradle | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/vtm/build.gradle b/vtm/build.gradle
index ad7de082..f2513016 100644
--- a/vtm/build.gradle
+++ b/vtm/build.gradle
@@ -1,17 +1,14 @@
 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'
+    compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
 }
 
 sourceSets {
     main.java.srcDirs = ['src']
     main.resources.srcDirs = ['resources']
-    main.compileClasspath += configurations.providedCompile
 }
 
 if (project.hasProperty("SONATYPE_USERNAME")) {