diff build.gradle @ 16:8400a7db1330

USASR-1307: update templates to groovydoc 2.3.6
author smith@nwoca.org
date Wed, 31 Dec 2014 22:35:45 +0000
parents 4db19f1c5ad0
children e2d02e8742be
line wrap: on
line diff
--- a/build.gradle	Fri Jan 17 18:16:29 2014 +0000
+++ b/build.gradle	Wed Dec 31 22:35:45 2014 +0000
@@ -1,5 +1,6 @@
 
-apply from: "${gradle.hasProperty('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation :'http://hg.ssdt-ohio.org/browse/public/develkit'}/init.gradle"
+def ssdtInit = GradleVersion.current() < GradleVersion.version('2.0') ? 'init' : 'init20'
+apply from: "${gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'}/${ssdtInit}.gradle"
 
 description = "SSDT Gradle Plugins"
 
@@ -14,7 +15,7 @@
 sourceCompatibility = 1.6
 
 dependencies {
-    groovy      localGroovy()
+    compile     localGroovy()
     compile     gradleApi()
     testCompile 'junit:junit:4.10'
 }