annotate 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
rev   line source
0
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
1
16
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 2
diff changeset
2 def ssdtInit = GradleVersion.current() < GradleVersion.version('2.0') ? 'init' : 'init20'
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 2
diff changeset
3 apply from: "${gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'}/${ssdtInit}.gradle"
0
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
4
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
5 description = "SSDT Gradle Plugins"
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
6
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
7 group="org.ssdt_ohio"
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
8
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
9 apply plugin: 'groovy'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
10 apply plugin: 'idea'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
11 apply plugin: 'maven'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
12
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
13 defaultTasks 'clean', 'build'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
14
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
15 sourceCompatibility = 1.6
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
16
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
17 dependencies {
16
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 2
diff changeset
18 compile localGroovy()
0
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
19 compile gradleApi()
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
20 testCompile 'junit:junit:4.10'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
21 }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
22
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
23 idea.project {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
24 jdkName = '1.6'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
25 }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
26
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
27 idea.module {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
28 downloadSources = true
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
29 downloadJavadoc = true
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
30 }