Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 236 lines (184 sloc) 7.088 kb
4e9c9f1d »
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
1 import org.apache.tools.ant.filters.ReplaceTokens
2
712a509c »
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
3 buildscript {
4 repositories {
eea1b10a »
2011-04-18 use repo.grails.org/grails/core instead of repo.gradle.org/gradle/grails
5 mavenRepo(urls: "http://repo.grails.org/grails/core")
712a509c »
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
6 }
7 dependencies {
8 classpath "commons-io:commons-io:1.4"
9 }
10 }
11
3e17890a »
2009-03-13 1.1 branch is now trunk
12
620b8966 »
2011-02-24 added code to load log4j.properties only if it exists, add ehcache as…
13 apply plugin: 'idea'
14
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
15 grailsVersion = '1.4.0.BUILD-SNAPSHOT'
6e6725a2 »
2011-04-28 upgrade to ant 1.8.2 and remove ant-nodeps
16 antVersion = "1.8.2"
17 antNodepsVersion = "1.8.1"
d1830dd1 »
2011-03-14 use ant-trax version 1.7.1 not 1.8.1. this dependency is pending inve…
18 antTraxVersion = "1.7.1"
1f7bb173 »
2011-03-10 initial work migrating GORM for Hibernate to datastore APIs
19 springVersion = "3.0.5.RELEASE"
4e9c9f1d »
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
20 ivyVersion = "2.2.0"
21 gantVersion = "1.9.4-SNAPSHOT"
37879dc1 »
2011-04-27 use groovy 1.8.0
22 groovyVersion = "1.8.0"
4e9c9f1d »
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
23
6aa944bd »
2011-02-23 some more fixes and tweaks
24 archivesBaseName = 'grails'
25 version = grailsVersion
76e9d1ae »
2011-02-22 fixes to building of 'grails-scripts' jar
26
305746be »
2011-03-04 Groovy was not appearing as a dependency in the artifacts' POMs, so i…
27 // Groovy is added as a dependency to both the 'groovy' and 'compile'
28 // configurations, so place the dependency in a shared variable. The
29 // 'compile' is required so that Groovy appears as a dependency in the
30 // artifacts' POMs.
31 if(System.getProperty('groovy.jar')) {
32 groovyDependency = files(System.getProperty('groovy.jar'))
33 } else {
34 groovyDependency = "org.codehaus.groovy:groovy-all:${groovyVersion}"
35 }
36
76e9d1ae »
2011-02-22 fixes to building of 'grails-scripts' jar
37
6d7b0f82 »
2011-02-22 enhanced the gradle install command to also install into GRAILS_HOME/…
38 subprojects { project ->
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
39 apply plugin: 'groovy'
40 apply plugin: 'maven'
c2c3421c »
2011-02-23 the root project is no longer a groovy project, custom assemble task …
41 apply plugin: 'eclipse'
42 apply plugin: 'idea'
c434df70 »
2011-02-22 some fixes to the tests, removed redundant IML file
43
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
44 sourceCompatibility = "1.5"
45 targetCompatibility = "1.5"
46 archivesBaseName = 'grails'
47 version = grailsVersion
445ba272 »
2011-02-25 applied correct group id
48 group = "org.grails"
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
49
50 manifest.mainAttributes(
51 "Built-By": System.properties['user.name'],
52 "Created-By": System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
53 "Implementation-Title": "Grails",
6e6725a2 »
2011-04-28 upgrade to ant 1.8.2 and remove ant-nodeps
54 "Ant-Version": 'Apache Ant 1.8.2', // todo we just have this property to make it easy to compare manifests. Remove it when this build is life
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
55 "Implementation-Version": grailsVersion,
56 "Implementation-Vendor": 'grails.org')
57
faafb324 »
2011-02-22 fixed merged changes in build.gradle
58
c2c3421c »
2011-02-23 the root project is no longer a groovy project, custom assemble task …
59 configure([compileGroovy, compileTestGroovy]) {
60 groovyOptions.fork(memoryInitialSize: '128M', memoryMaximumSize: '1G')
61 groovyOptions.encoding = "UTF-8"
62 }
63
64 configure([compileJava, compileTestJava]) {
65 options.deprecation = true
66 options.debug = true
67 }
68
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
69
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
70 repositories {
eea1b10a »
2011-04-18 use repo.grails.org/grails/core instead of repo.gradle.org/gradle/grails
71
72 mavenRepo(urls: "http://repo.grails.org/grails/core") {
30aed724 »
2011-04-01 Added snapshot timeout property
73 if (project.hasProperty('snapshotTimeout')) {
74 setSnapshotTimeout(Long.parseLong(project.snapshotTimeout))
75
76 }
77 }
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
78 }
e1110b52 »
2011-04-01 Changed build to use a virtual repository at repo.gradle.org.
79
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
80 dependencies {
81 // Groovy
305746be »
2011-03-04 Groovy was not appearing as a dependency in the artifacts' POMs, so i…
82 groovy groovyDependency
83 compile groovyDependency
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
84
85 // Jars in lib
86 compile files(fileTree(dir:"$projectDir/src/libs" as File))
87
88
89 compile 'commons-beanutils:commons-beanutils:1.8.0',
90 'commons-cli:commons-cli:1.0',
91 'commons-codec:commons-codec:1.4',
92 'commons-collections:commons-collections:3.2.1',
93 'commons-io:commons-io:1.4',
94 'commons-lang:commons-lang:2.4',
95 'commons-validator:commons-validator:1.3.1'
43f8b190 »
2011-02-23 moved dependencies around to actual dependent projects, this will pro…
96 // Apache Commons
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
97
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
98 // Others
99 runtime( 'cglib:cglib-nodep:2.1_3')
43f8b190 »
2011-02-23 moved dependencies around to actual dependent projects, this will pro…
100
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
101 compile 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.1_jdk5'
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
102
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
103 runtime 'aopalliance:aopalliance:1.0',
104 'org.aspectj:aspectjrt:1.6.10',
105 'org.aspectj:aspectjweaver:1.6.10',
106 'net.sf.ehcache:ehcache-core:2.3.1'
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
107
108
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
109 // XML
110 runtime 'xalan:serializer:2.7.1'
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
111
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
112 // Logging
113 compile 'log4j:log4j:1.2.16'
43f8b190 »
2011-02-23 moved dependencies around to actual dependent projects, this will pro…
114 compile 'org.slf4j:slf4j-api:1.6.1'
115 compile 'org.slf4j:jcl-over-slf4j:1.6.1'
116
117 runtime'org.slf4j:slf4j-log4j12:1.6.1'
118 runtime 'org.slf4j:jul-to-slf4j:1.6.1'
3c979cef »
2011-02-17 moved logging plugin into separate project
119
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
120
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
121 // Specs
43f8b190 »
2011-02-23 moved dependencies around to actual dependent projects, this will pro…
122 compile 'javax.servlet:servlet-api:2.5'
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
123 compile 'javax.transaction:jta:1.1'
2a525be5 »
2011-03-24 upgrade to Hibernate 3.6
124 compile 'org.hibernate.java-persistence:jpa-api:2.0-cr-1'
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
125
126 // Spring
127
128 compile "org.springframework:spring-aop:${springVersion}",
129 "org.springframework:spring-asm:${springVersion}",
130 "org.springframework:spring-aspects:${springVersion}",
131 "org.springframework:spring-beans:${springVersion}",
132 "org.springframework:spring-context:${springVersion}",
133 "org.springframework:spring-core:${springVersion}",
134 "org.springframework:spring-expression:${springVersion}",
135 "org.springframework:spring-instrument:${springVersion}",
136 "org.springframework:spring-jdbc:${springVersion}",
137 "org.springframework:spring-jms:${springVersion}",
138 "org.springframework:spring-orm:${springVersion}",
139 "org.springframework:spring-oxm:${springVersion}",
140 "org.springframework:spring-test:${springVersion}",
141 "org.springframework:spring-tx:${springVersion}",
142 "org.springframework:spring-web:${springVersion}",
143 "org.springframework:spring-webmvc:${springVersion}"
144
145 // Testing
146 testCompile 'junit:junit:4.8.1'
352b29e5 »
2011-03-01 add spock to test compile path
147 testCompile('org.spockframework:spock-core:0.5-groovy-1.8') {
148 transitive = false
149 }
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
150
151 }
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
152
6d7b0f82 »
2011-02-22 enhanced the gradle install command to also install into GRAILS_HOME/…
153 install.doLast {
154 copy {
155 from(project.libsDir) {
156 include "*-${grailsVersion}.jar"
157 }
158 into "${rootProject.projectDir}/dist"
159 }
160 }
c5307d67 »
2011-02-23 test exclude patterns
161
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
162 test {
163 excludes = ["**/*TestCase.class", "**/*\$*.class"]
164 }
f01ceaab »
2011-02-23 Now creating source and javadoc jar files
165
166 task sourcesJar(type: Jar, dependsOn:classes) {
167 classifier = 'sources'
168 appendix = project.name[7..-1]
169 from sourceSets.main.allSource
170 }
171
172 task javadocJar(type: Jar, dependsOn:javadoc) {
173 classifier = 'javadoc'
174 appendix = project.name[7..-1]
175 from javadoc.destinationDir
176 }
177
dcb60086 »
2011-04-05 Move the javadoc and source jars onto a new gradle configuration name…
178 configurations {
179 meta
180 }
181
f01ceaab »
2011-02-23 Now creating source and javadoc jar files
182 artifacts {
dcb60086 »
2011-04-05 Move the javadoc and source jars onto a new gradle configuration name…
183 meta sourcesJar
184 meta javadocJar
f01ceaab »
2011-02-23 Now creating source and javadoc jar files
185 }
c9ba3763 »
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
186 }
187
712a509c »
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
188
189 apply {
7d0dc761 »
2011-02-23 Fixed generation of documentation
190 from 'gradle/docs.gradle'
4ec3a5a1 »
2010-09-23 GRAILS-6596 - upgrade to gradle 0.9-rc-1
191 from 'gradle/assemble.gradle'
712a509c »
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
192 }
193
c2c3421c »
2011-02-23 the root project is no longer a groovy project, custom assemble task …
194 task clean << {
89a2d32c »
2010-01-19 Added single test execution. Changed output destination to be the sam…
195 // add additional dirs
c2c3421c »
2011-02-23 the root project is no longer a groovy project, custom assemble task …
196 // delete(docs.destinationDir, libs.destinationDir)
197 delete(libs.destinationDir)
198 delete(buildDir)
89a2d32c »
2010-01-19 Added single test execution. Changed output destination to be the sam…
199 }
200
ef7d40c0 »
2011-02-23 created subproject for grails-scripts that compiles from the root pro…
201 task install(dependsOn:[populateDependencies])
477e4a45 »
2011-02-23 add install task to root that installs the scripts jar and populates …
202
4e9c9f1d »
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
203
204 install.doLast {
205 copy {
206 from('src/resources/tests')
207 into('lib')
208 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
209 }
210
211 copy {
212 from("src/resources/bash")
213 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
214 filter(ReplaceTokens, tokens: ['groovy.version': groovyVersion])
215 fileMode = 0755
216 into "bin"
217
218 }
187d1983 »
2011-03-02 chmod 755 all of the files in the bin/ dir when executing the install…
219 // the fileMode property above should take care of the chmod work, but
220 // it doesn't per http://jira.codehaus.org/browse/GRADLE-971
221 ant.chmod(dir: 'bin', perm: '755', includes: '*')
222
4e9c9f1d »
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
223 copy {
224 from("src/resources/conf")
225 into "conf"
226 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
227 filter(ReplaceTokens, tokens: ['groovy.version': groovyVersion])
228 filter(ReplaceTokens, tokens: ['ant.version': antVersion])
229 filter(ReplaceTokens, tokens: ['gant.version': gantVersion])
230 filter(ReplaceTokens, tokens: ['ivy.version': ivyVersion])
231 }
232 }
233
234
1442c049 »
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
235 task assemble(dependsOn:zipDist)
Something went wrong with that request. Please try again.