annotate build.gradle @ 0:c51874d4a5a7

initial ssdt plugin
author smith@nwoca.org
date Fri, 18 May 2012 04:32:16 +0100
parents
children 4db19f1c5ad0
rev   line source
0
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
1
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
2 apply from: "${gradle.hasProperty('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation :'http://hg.ssdt-ohio.org/browse/public/develkit'}/init.gradle"
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
3
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
4 description = "SSDT Gradle Plugins"
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
5
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
6 group="org.ssdt_ohio"
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
7
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
8 apply plugin: 'groovy'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
9 apply plugin: 'idea'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
10 apply plugin: 'maven'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
11
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
12 defaultTasks 'clean', 'build'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
13
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
14 sourceCompatibility = 1.6
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
15
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
16 dependencies {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
17 groovy localGroovy()
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
18 compile gradleApi()
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
19 // 'org.gcontracts:gcontracts-core:1.2.5'
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 sourceSets {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
24 main {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
25 groovy { srcDir 'other' }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
26
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
27 }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
28 }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
29
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
30 idea.project {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
31 jdkName = '1.6'
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
32 }
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
33
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
34 idea.module {
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
35 downloadSources = true
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
36 downloadJavadoc = true
c51874d4a5a7 initial ssdt plugin
smith@nwoca.org
parents:
diff changeset
37 }