Skip to content
Newer
Older
100644 202 lines (163 sloc) 5.65 KB
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
1 buildscript {
2 repositories {
3 mavenCentral()
4 }
5 dependencies {
6 classpath "commons-io:commons-io:1.4"
7 }
8 }
9
4ec3a5a @jeffbrown GRAILS-6596 - upgrade to gradle 0.9-rc-1
jeffbrown authored Sep 23, 2010
10 apply plugin: 'groovy'
0df1cbc @graemerocher Use transitive dependencies for build, removed jars from lib
graemerocher authored Feb 15, 2011
11 apply plugin: 'eclipse'
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
12
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
13 grailsVersion = '1.4.0.BUILD-SNAPSHOT'
14 version = grailsVersion
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
15
486145c @pledbrook Fixed typos in Gradle build.
pledbrook authored Feb 2, 2010
16 sourceCompatibility = "1.5"
17 targetCompatibility = "1.5"
f73204b @graemerocher fixed problem with Gradle build uses 'grails-core' as the archive bas…
graemerocher authored Mar 9, 2010
18 archivesBaseName = 'grails'
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
19
20
0df1cbc @graemerocher Use transitive dependencies for build, removed jars from lib
graemerocher authored Feb 15, 2011
21 repositories {
76e9d1a @graemerocher fixes to building of 'grails-scripts' jar
graemerocher authored Feb 22, 2011
22 mavenCentral()
0df1cbc @graemerocher Use transitive dependencies for build, removed jars from lib
graemerocher authored Feb 15, 2011
23 mavenRepo urls:"http://maven.springframework.org/release"
24 }
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
25
76e9d1a @graemerocher fixes to building of 'grails-scripts' jar
graemerocher authored Feb 22, 2011
26 configurations {
27 grailsScripts
28 grailsScripts.transitive = false
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
29 }
30
76e9d1a @graemerocher fixes to building of 'grails-scripts' jar
graemerocher authored Feb 22, 2011
31 antVersion = "1.7.1"
32 springVersion = "3.0.3.RELEASE"
33
34
6d7b0f8 @graemerocher enhanced the gradle install command to also install into GRAILS_HOME/…
graemerocher authored Feb 22, 2011
35 subprojects { project ->
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
36 apply plugin: 'groovy'
37 apply plugin: 'eclipse'
38 apply plugin: 'maven'
c434df7 @graemerocher some fixes to the tests, removed redundant IML file
graemerocher authored Feb 22, 2011
39 apply plugin: 'idea'
40
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
41
a8a051c @graemerocher Started migrating base test harnesses into new test-suite subproject
graemerocher authored Feb 21, 2011
42 manifest.mainAttributes(
43 "Built-By": System.properties['user.name'],
44 "Created-By": System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
45 "Implementation-Title": "Grails",
46 "Ant-Version": 'Apache Ant 1.7.1', // todo we just have this property to make it easy to compare manifests. Remove it when this build is life
47 "Implementation-Version": version,
48 "Implementation-Vendor": 'grails.org')
49
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
50 group = "org.grails"
51 version = grailsVersion
52 archivesBaseName = "grails"
53
54 configurations {
a8a051c @graemerocher Started migrating base test harnesses into new test-suite subproject
graemerocher authored Feb 21, 2011
55 compile.transitive = true
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
56 jsp21.extendsFrom compile
57 }
58 repositories {
59 mavenRepo urls:"http://maven.springframework.org/release"
60 }
61 dependencies {
62 groovy group: 'org.codehaus.groovy', name: 'groovy-all', version: '1.8.0-beta-4'
63
64 // Jars in lib
65 compile files(fileTree(dir:"$projectDir/src/libs" as File))
66
67 // Ant
68 compile "org.apache.ant:ant:${antVersion}",
69 "org.apache.ant:ant-launcher:${antVersion}",
70 "org.apache.ant:ant-junit:${antVersion}",
71 "org.apache.ant:ant-nodeps:${antVersion}",
72 "org.apache.ant:ant-trax:${antVersion}",
73 "org.apache.ivy:ivy:2.2.0",
74 'org.codehaus.gant:gant_groovy1.7:1.9.3'
75
76
77 // Apache Commons
78 compile 'commons-beanutils:commons-beanutils:1.8.0' ,
79 'commons-cli:commons-cli:1.0',
80 'commons-codec:commons-codec:1.4',
81 'commons-collections:commons-collections:3.2.1',
82 'commons-dbcp:commons-dbcp:1.3',
83 'commons-el:commons-el:1.0',
84 'commons-fileupload:commons-fileupload:1.2.1',
85 'commons-io:commons-io:1.4',
86 'commons-lang:commons-lang:2.4',
87 'commons-pool:commons-pool:1.5.5',
88 'commons-validator:commons-validator:1.3.1'
89
90 // Others
91 compile( 'cglib:cglib-nodep:2.1_3',
92 'org.fusesource.jansi:jansi:1.2.1',
93 'oro:oro:2.0.8',
94 'jline:jline:0.9.94',
95 'opensymphony:sitemesh:2.4',
96 'org.tmatesoft.svnkit:svnkit:1.3.4',
97 'ognl:ognl:2.7.3',
98 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.1_jdk5')
99
100 runtime 'aopalliance:aopalliance:1.0',
101 'com.h2database:h2:1.2.147',
102 'hsqldb:hsqldb:1.8.0.10',
103 'org.aspectj:aspectjrt:1.6.10',
104 'org.aspectj:aspectjweaver:1.6.10',
105 'net.sf.ehcache:ehcache-core:2.3.1',
106 'org.coconut.forkjoin:jsr166y:070108'
107
108
109 // Testing
110 compile 'junit:junit:4.8.1'
111
112 // XML
113 compile 'xpp3:xpp3_min:1.1.4c'
114 compile 'xalan:serializer:2.7.1'
115
116 // Logging
eccd8ca @graemerocher resources jar as a separate project
graemerocher authored Feb 21, 2011
117 compile 'log4j:log4j:1.2.16'
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
118 compile 'org.slf4j:slf4j-log4j12:1.6.1'
119 compile 'org.slf4j:slf4j-api:1.6.1'
120 compile 'org.slf4j:jcl-over-slf4j:1.6.1'
121 compile 'org.slf4j:jul-to-slf4j:1.6.1'
3c979ce @graemerocher moved logging plugin into separate project
graemerocher authored Feb 17, 2011
122
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
123
124 // Specs
125 compile 'javax.servlet:jsp-api:2.0'
126 compile 'javax.servlet:servlet-api:2.5'
127 compile 'javax.servlet:jstl:1.2'
128 compile 'taglibs:standard:1.1.2'
129 compile 'net.sf.jsr107cache:jsr107cache:1.0'
130 compile 'javax.transaction:jta:1.1'
131 compile 'javax.persistence:persistence-api:1.0'
132
133 // Hibernate related
134 compile 'org.hibernate:hibernate-annotations:3.4.0.GA',
135 'org.hibernate:hibernate-commons-annotations:3.1.0.GA',
136 'org.hibernate:hibernate-core:3.3.1.GA',
137 'org.hibernate:hibernate-validator:3.1.0.GA',
138 'org.hibernate:hibernate-ehcache:3.3.1.GA',
139 'javassist:javassist:3.11.0.GA',
140 'antlr:antlr:2.7.6'
141
142 // Spring
76e9d1a @graemerocher fixes to building of 'grails-scripts' jar
graemerocher authored Feb 22, 2011
143
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
144 compile "org.springframework:spring-aop:${springVersion}",
145 "org.springframework:spring-asm:${springVersion}",
146 "org.springframework:spring-aspects:${springVersion}",
147 "org.springframework:spring-beans:${springVersion}",
148 "org.springframework:spring-context:${springVersion}",
149 "org.springframework:spring-core:${springVersion}",
150 "org.springframework:spring-expression:${springVersion}",
151 "org.springframework:spring-instrument:${springVersion}",
152 "org.springframework:spring-jdbc:${springVersion}",
153 "org.springframework:spring-jms:${springVersion}",
154 "org.springframework:spring-orm:${springVersion}",
155 "org.springframework:spring-oxm:${springVersion}",
156 "org.springframework:spring-test:${springVersion}",
157 "org.springframework:spring-tx:${springVersion}",
158 "org.springframework:spring-web:${springVersion}",
159 "org.springframework:spring-webmvc:${springVersion}"
160
161
162 // Groovy
163 groovy "org.codehaus.groovy:groovy-all:1.8.0-beta-4"
164 compile( 'org.codehaus.gpars:gpars:0.9' ) {
165 exclude module:'netty'
166 }
167
168 jsp21 'javax.servlet.jsp:jsp-api:2.1'
169 }
170
6d7b0f8 @graemerocher enhanced the gradle install command to also install into GRAILS_HOME/…
graemerocher authored Feb 22, 2011
171 install.doLast {
172 copy {
173 from(project.libsDir) {
174 include "*-${grailsVersion}.jar"
175 }
176 into "${rootProject.projectDir}/dist"
177 }
178 }
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
179
180 }
181
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
182 configure([compileGroovy, compileTestGroovy]) {
183 groovyOptions.fork(memoryInitialSize: '128M', memoryMaximumSize: '1G')
184 groovyOptions.encoding = "UTF-8"
185 }
186
187 configure([compileJava, compileTestJava]) {
188 options.deprecation = true
189 options.debug = true
190 }
191
192 apply {
4ec3a5a @jeffbrown GRAILS-6596 - upgrade to gradle 0.9-rc-1
jeffbrown authored Sep 23, 2010
193 from 'gradle/docs.gradle'
194 from 'gradle/assemble.gradle'
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
195 }
196
89a2d32 Added single test execution. Changed output destination to be the sam…
hd authored Jan 19, 2010
197 clean {
198 // add additional dirs
4ec3a5a @jeffbrown GRAILS-6596 - upgrade to gradle 0.9-rc-1
jeffbrown authored Sep 23, 2010
199 delete(docs.destinationDir, libs.destinationDir)
89a2d32 Added single test execution. Changed output destination to be the sam…
hd authored Jan 19, 2010
200 }
201
Something went wrong with that request. Please try again.