Merge "Improved groovy syntax checking configuration"
diff --git a/build.gradle b/build.gradle
index 4eb83d0..bd89396 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,6 +3,10 @@
 
 def jcenterRepo = System.getenv('ARTIFACTORY_URL') ?: 'https://artifactory.mcp.mirantis.net/jcenter'
 
+dependencies{
+  compile 'org.codehaus.groovy:groovy-all:2.3.6'
+}
+
 sourceSets {
   main {
     groovy {
@@ -11,8 +15,6 @@
   }
 }
 
-compileGroovy.enabled = false
-
 repositories {
   maven {
     url jcenterRepo