Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 219 lines (173 sloc) 6.089 kb
4e9c9f1d » graemerocher
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 » hd
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
3 buildscript {
4 repositories {
eea1b10a » jeffbrown
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 » hd
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 » graeme
2009-03-13 1.1 branch is now trunk
12
620b8966 » graemerocher
2011-02-24 added code to load log4j.properties only if it exists, add ehcache as…
13 apply plugin: 'idea'
14
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
15
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
16 grailsVersion = '1.4.0.BUILD-SNAPSHOT'
6e6725a2 » jeffbrown
2011-04-28 upgrade to ant 1.8.2 and remove ant-nodeps
17 antVersion = "1.8.2"
d1830dd1 » jeffbrown
2011-03-14 use ant-trax version 1.7.1 not 1.8.1. this dependency is pending inve…
18 antTraxVersion = "1.7.1"
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
19 aspectjVersion = "1.6.10"
fb53d5bb » graemerocher
2011-05-13 Initial upgrade to Spring 3.1 M1 with Spring environment profiles int…
20 springVersion = "3.1.0.M1"
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
21 springDatastoreVersion = "1.0.0.BUILD-SNAPSHOT"
606bbfc4 » graemerocher
2011-05-04 removed hard coded agent version and used shared version number
22 springLoadedVersion = "0.8.0.BUILD-SNAPSHOT"
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
23 springWebflowVersion= "2.0.8.RELEASE"
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
24 ivyVersion = "2.2.0"
c6b3b664 » jeffbrown
2011-05-03 GRAILS-7477 - upgrade to Gant 1.9.5
25 gantVersion = "1.9.5"
37879dc1 » jeffbrown
2011-04-27 use groovy 1.8.0
26 groovyVersion = "1.8.0"
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
27 commonsCollectionsVersion = "3.2.1"
28 commonsBeanUtilsVersion = "1.8.0"
29 commonsIOVersion = "1.4"
30 commonsLangVersion = "2.4"
31 slf4jVersion = "1.6.1"
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
32
6aa944bd » graemerocher
2011-02-23 some more fixes and tweaks
33 archivesBaseName = 'grails'
34 version = grailsVersion
76e9d1ae » graemerocher
2011-02-22 fixes to building of 'grails-scripts' jar
35
305746be » pledbrook
2011-03-04 Groovy was not appearing as a dependency in the artifacts' POMs, so i…
36 // Groovy is added as a dependency to both the 'groovy' and 'compile'
37 // configurations, so place the dependency in a shared variable. The
38 // 'compile' is required so that Groovy appears as a dependency in the
39 // artifacts' POMs.
40 if(System.getProperty('groovy.jar')) {
41 groovyDependency = files(System.getProperty('groovy.jar'))
42 } else {
43 groovyDependency = "org.codehaus.groovy:groovy-all:${groovyVersion}"
44 }
45
76e9d1ae » graemerocher
2011-02-22 fixes to building of 'grails-scripts' jar
46
6d7b0f82 » graemerocher
2011-02-22 enhanced the gradle install command to also install into GRAILS_HOME/…
47 subprojects { project ->
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
48 apply plugin: 'groovy'
49 apply plugin: 'maven'
c2c3421c » graemerocher
2011-02-23 the root project is no longer a groovy project, custom assemble task …
50 apply plugin: 'eclipse'
51 apply plugin: 'idea'
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
52 apply plugin: 'project-report'
c434df70 » graemerocher
2011-02-22 some fixes to the tests, removed redundant IML file
53
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
54 sourceCompatibility = "1.5"
55 targetCompatibility = "1.5"
56 archivesBaseName = 'grails'
57 version = grailsVersion
445ba272 » graemerocher
2011-02-25 applied correct group id
58 group = "org.grails"
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
59
60 manifest.mainAttributes(
61 "Built-By": System.properties['user.name'],
62 "Created-By": System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
63 "Implementation-Title": "Grails",
64 "Implementation-Version": grailsVersion,
65 "Implementation-Vendor": 'grails.org')
66
faafb324 » graemerocher
2011-02-22 fixed merged changes in build.gradle
67
c2c3421c » graemerocher
2011-02-23 the root project is no longer a groovy project, custom assemble task …
68 configure([compileGroovy, compileTestGroovy]) {
69 groovyOptions.fork(memoryInitialSize: '128M', memoryMaximumSize: '1G')
70 groovyOptions.encoding = "UTF-8"
71 }
72
73 configure([compileJava, compileTestJava]) {
74 options.deprecation = true
75 options.debug = true
76 }
77
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
78
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
79 repositories {
eea1b10a » jeffbrown
2011-04-18 use repo.grails.org/grails/core instead of repo.gradle.org/gradle/grails
80
81 mavenRepo(urls: "http://repo.grails.org/grails/core") {
30aed724 » hansd
2011-04-01 Added snapshot timeout property
82 if (project.hasProperty('snapshotTimeout')) {
83 setSnapshotTimeout(Long.parseLong(project.snapshotTimeout))
84
85 }
86 }
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
87 }
e1110b52 » hansd
2011-04-01 Changed build to use a virtual repository at repo.gradle.org.
88
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
89 dependencies {
90 // Groovy
305746be » pledbrook
2011-03-04 Groovy was not appearing as a dependency in the artifacts' POMs, so i…
91 groovy groovyDependency
92 compile groovyDependency
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
93
94 // Logging
c1535bef » graemerocher
2011-05-16 re-organization of dependency definitions so only the subprojects tha…
95 compile "org.slf4j:slf4j-api:$slf4jVersion"
96 compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
97
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
98 // Specs
43f8b190 » graemerocher
2011-02-23 moved dependencies around to actual dependent projects, this will pro…
99 compile 'javax.servlet:servlet-api:2.5'
2a525be5 » graemerocher
2011-03-24 upgrade to Hibernate 3.6
100 compile 'org.hibernate.java-persistence:jpa-api:2.0-cr-1'
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
101
102
103 // Testing
104 testCompile 'junit:junit:4.8.1'
352b29e5 » graemerocher
2011-03-01 add spock to test compile path
105 testCompile('org.spockframework:spock-core:0.5-groovy-1.8') {
106 transitive = false
107 }
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
108
109 }
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
110
6d7b0f82 » graemerocher
2011-02-22 enhanced the gradle install command to also install into GRAILS_HOME/…
111 install.doLast {
112 copy {
113 from(project.libsDir) {
114 include "*-${grailsVersion}.jar"
115 }
116 into "${rootProject.projectDir}/dist"
117 }
118 }
c5307d67 » graemerocher
2011-02-23 test exclude patterns
119
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
120 test {
121 excludes = ["**/*TestCase.class", "**/*\$*.class"]
122 }
f01ceaab » graemerocher
2011-02-23 Now creating source and javadoc jar files
123
124 task sourcesJar(type: Jar, dependsOn:classes) {
125 classifier = 'sources'
126 appendix = project.name[7..-1]
127 from sourceSets.main.allSource
128 }
129
130 task javadocJar(type: Jar, dependsOn:javadoc) {
131 classifier = 'javadoc'
132 appendix = project.name[7..-1]
133 from javadoc.destinationDir
134 }
135
a9878e1d » graemerocher
2011-05-13 cleanup tmp directory after groovydoc task and increase permgen to fi…
136 groovydoc.doLast {
137 delete("${buildDir}/tmp")
138 }
139
dcb60086 » alkemist
2011-04-05 Move the javadoc and source jars onto a new gradle configuration name…
140 configurations {
141 meta
142 }
143
f01ceaab » graemerocher
2011-02-23 Now creating source and javadoc jar files
144 artifacts {
dcb60086 » alkemist
2011-04-05 Move the javadoc and source jars onto a new gradle configuration name…
145 meta sourcesJar
146 meta javadocJar
f01ceaab » graemerocher
2011-02-23 Now creating source and javadoc jar files
147 }
ee4ba5ba » graemerocher
2011-05-16 Attempt 1 at Gradle to Artifactory deployment
148
149 uploadArchives {
150 repositories {
4f913574 » graemerocher
2011-05-16 added Realm configuration for Ivy
151 final url = project.version.endsWith("SNAPSHOT") ? "http://repo.grails.org/grails/libs-snapshots-local" :
152 "http://repo.grails.org/grails/libs-releases-local"
153
154
ee4ba5ba » graemerocher
2011-05-16 Attempt 1 at Gradle to Artifactory deployment
155 mavenRepo urls: url
156
157 repositories.mavenDeployer {
158 repository(url: url) {
657e2f55 » graemerocher
2011-05-16 fixed for build error
159 final username = project.properties["artifactoryPublishUsername"]
160 final password = project.properties["artifactoryPublishPassword"]
161
162 if(username && password) {
163 org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials("Artifactory Realm", "repo.grails.org", username, password);
164 }
4f913574 » graemerocher
2011-05-16 added Realm configuration for Ivy
165
166 authentication(userName: username, password: password)
ee4ba5ba » graemerocher
2011-05-16 Attempt 1 at Gradle to Artifactory deployment
167 }
168 }
169 }
170 }
c9ba3763 » graemerocher
2011-02-16 First steps into multi project build refactor. Moved grails-bootstrap…
171 }
172
712a509c » hd
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
173
174 apply {
7d0dc761 » graemerocher
2011-02-23 Fixed generation of documentation
175 from 'gradle/docs.gradle'
4ec3a5a1 » jeffbrown
2010-09-23 GRAILS-6596 - upgrade to gradle 0.9-rc-1
176 from 'gradle/assemble.gradle'
712a509c » hd
2010-01-11 Split build into a couple of build scripts. Updated to new version of…
177 }
178
c2c3421c » graemerocher
2011-02-23 the root project is no longer a groovy project, custom assemble task …
179 task clean << {
89a2d32c » hd
2010-01-19 Added single test execution. Changed output destination to be the sam…
180 // add additional dirs
c2c3421c » graemerocher
2011-02-23 the root project is no longer a groovy project, custom assemble task …
181 // delete(docs.destinationDir, libs.destinationDir)
182 delete(libs.destinationDir)
183 delete(buildDir)
89a2d32c » hd
2010-01-19 Added single test execution. Changed output destination to be the sam…
184 }
185
ea7c286e » graemerocher
2011-03-09 integrated reloading agent with GrailsPluginManager reload events mec…
186 task installResources << {
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
187 copy {
dfea614d » graemerocher
2011-05-04 moved various resources required by GRAILS_HOME into grails-resources…
188 from('grails-resources/src/grails/home/tests')
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
189 into('lib')
190 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
191 }
192
193 copy {
dfea614d » graemerocher
2011-05-04 moved various resources required by GRAILS_HOME into grails-resources…
194 from("grails-resources/src/grails/home/bash")
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
195 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
196 filter(ReplaceTokens, tokens: ['groovy.version': groovyVersion])
606bbfc4 » graemerocher
2011-05-04 removed hard coded agent version and used shared version number
197 filter(ReplaceTokens, tokens: ['spring.loaded.version': springLoadedVersion])
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
198 fileMode = 0755
199 into "bin"
200
201 }
187d1983 » jeffbrown
2011-03-02 chmod 755 all of the files in the bin/ dir when executing the install…
202 // the fileMode property above should take care of the chmod work, but
203 // it doesn't per http://jira.codehaus.org/browse/GRADLE-971
204 ant.chmod(dir: 'bin', perm: '755', includes: '*')
ea7c286e » graemerocher
2011-03-09 integrated reloading agent with GrailsPluginManager reload events mec…
205
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
206 copy {
dfea614d » graemerocher
2011-05-04 moved various resources required by GRAILS_HOME into grails-resources…
207 from("grails-resources/src/grails/home/conf")
4e9c9f1d » graemerocher
2011-02-28 deleted bin, conf and junit style sheets and made it so they are put …
208 into "conf"
209 filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
210 filter(ReplaceTokens, tokens: ['groovy.version': groovyVersion])
211 filter(ReplaceTokens, tokens: ['ant.version': antVersion])
212 filter(ReplaceTokens, tokens: ['gant.version': gantVersion])
213 filter(ReplaceTokens, tokens: ['ivy.version': ivyVersion])
214 }
215 }
216
217
ea7c286e » graemerocher
2011-03-09 integrated reloading agent with GrailsPluginManager reload events mec…
218 task install(dependsOn:[populateDependencies, installResources])
1442c049 » pledbrook
2011-02-24 Removed tabs from build.gradle (and trimmed whitespace from ends of l…
219 task assemble(dependsOn:zipDist)
Something went wrong with that request. Please try again.