Skip to content
Newer
Older
100644 342 lines (292 sloc) 11.1 KB
4e9c9f1 @graemerocher deleted bin, conf and junit style sheets and made it so they are put …
graemerocher authored Feb 28, 2011
1 import org.apache.tools.ant.filters.ReplaceTokens
2
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
3 buildscript {
4 repositories {
b2580ee @alkemist [build] Update repos to use new dsl
alkemist authored Dec 10, 2011
5 maven { url "http://repo.grails.org/grails/core" }
b298314 @lhotari GRAILS-8052 Updated Junit to 4.9 version. Excluded transient dependen…
lhotari authored Sep 21, 2011
6 //mavenRepo(urls: 'http://evgeny-goldin.org/artifactory/repo/')
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
7 }
8 dependencies {
d2d57cc @lhotari GRAILS-11088 update commons-fileupload to 1.3.1 version
lhotari authored Feb 10, 2014
9 classpath "commons-io:commons-io:2.2"
b298314 @lhotari GRAILS-8052 Updated Junit to 4.9 version. Excluded transient dependen…
lhotari authored Sep 21, 2011
10 //classpath "com.goldin.plugins:gradle:0.1-RC3" // http://evgeny-goldin.com/wiki/Gradle-duplicates-plugin
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
11 }
12 }
13
620b896 @graemerocher added code to load log4j.properties only if it exists, add ehcache as…
graemerocher authored Feb 24, 2011
14 apply plugin: 'idea'
15
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
16 ext {
c189fa5 @jeffbrown version 2.2.5
jeffbrown authored Mar 2, 2014
17 grailsVersion = '2.2.5'
90bcf95 @alkemist [build] Only require artifact signing if we are uploading non snapsho…
alkemist authored Apr 13, 2012
18 isBuildSnapshot = grailsVersion.endsWith(".BUILD-SNAPSHOT")
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
19 antTraxVersion = "1.7.1"
20 antVersion = "1.8.2"
21 aspectjVersion = "1.6.10"
22 commonsBeanUtilsVersion = "1.8.3"
23 commonsCliVersion = "1.2"
24 commonsCollectionsVersion = "3.2.1"
d2d57cc @lhotari GRAILS-11088 update commons-fileupload to 1.3.1 version
lhotari authored Feb 10, 2014
25 commonsIOVersion = "2.2"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
26 commonsLangVersion = "2.6"
f6d21db @graemerocher update to version 2.2.3 and datastore 1.1.8 release
graemerocher authored Jun 19, 2013
27 datastoreVersion = "1.1.8.RELEASE"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
28 gantVersion = "1.9.6"
29 gdocEngineVersion = "1.0.1"
60356ff @jeffbrown Upgrade to groovy 2.0.8
jeffbrown authored Apr 12, 2013
30 groovyVersion = "2.0.8"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
31 gradleGroovyVersion = groovyVersion
32 gradleGroovyVersion = "1.8.2"
33 ivyVersion = "2.2.0"
34 jansiVersion = "1.2.1"
35 jlineVersion = "1.0"
36 jnaVersion = "3.2.3"
37 slf4jVersion = "1.6.2"
133cfbb @graemerocher Merge branch '2.1.x' into 2.2.x
graemerocher authored Oct 23, 2012
38
106996c @jeffbrown use spock :0.7-groovy-2.0
jeffbrown authored Oct 12, 2012
39 spockVersion = '0.7-groovy-2.0'
b36bbb6 @graemerocher upgrade to spring loaded 1.1.3
graemerocher authored Jun 20, 2013
40 springLoadedVersion = "1.1.3"
93a447b @lhotari GRAILS-10183 prepare for Java 7u40 change by adding -Djdk.reflect.all…
lhotari authored Jun 21, 2013
41 springLoadedCommonOptions = "-noverify -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true"
1ea02f8 @lhotari Merge branch '2.1.x' into 2.2.x
lhotari authored Jun 21, 2013
42 springLoadedVersion = "1.1.3"
4c1c0d4 @jeffbrown Upgrade to Spring 3.1.4
jeffbrown authored Jan 23, 2013
43 springVersion = "3.1.4.RELEASE"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
44 springWebflowVersion= "2.0.8.RELEASE"
c1cba66 @graemerocher upgrade to hibernate 3.6.10
graemerocher authored Mar 29, 2012
45 hibernateVersion = "3.6.10.Final"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
46 ehcacheVersion = "2.4.6"
47 junitVersion = "4.10"
6dfab1a @graemerocher Changes to support fix for GRAILS-9637 "Grails Unit Tests using the n…
graemerocher authored Feb 15, 2013
48 concurrentlinkedhashmapVersion = "1.3.1"
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
49 }
50
6aa944b @graemerocher some more fixes and tweaks
graemerocher authored Feb 23, 2011
51 version = grailsVersion
76e9d1a @graemerocher fixes to building of 'grails-scripts' jar
graemerocher authored Feb 22, 2011
52
c189fa5 @jeffbrown version 2.2.5
jeffbrown authored Mar 3, 2014
53 // directories created during the build which are related
45f82bf @jeffbrown arrange for most directories which are created during a build to be d…
jeffbrown authored Aug 24, 2011
54 // to turning the workspace root into a GRAILS_HOME
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
55 ext {
56 homeDistDir = file("dist")
57 homeBinDir = file("bin")
58 homeConfDir = file("conf")
59 homeDslSupportDir = file("dsl-support")
60 homeLibDir = file("lib")
61 homeSrcDir = file("src")
62 }
45f82bf @jeffbrown arrange for most directories which are created during a build to be d…
jeffbrown authored Aug 25, 2011
63
305746b @pledbrook Groovy was not appearing as a dependency in the artifacts' POMs, so i…
pledbrook authored Mar 4, 2011
64 // Groovy is added as a dependency to both the 'groovy' and 'compile'
65 // configurations, so place the dependency in a shared variable. The
66 // 'compile' is required so that Groovy appears as a dependency in the
67 // artifacts' POMs.
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
68 ext.jointBuildGroovyJarProperty = System.getProperty('groovy.jar')
69 ext.groovyDependency = null
6f0c9bc @alkemist [build] Simplified management of Groovy jar WRT grails/groovy joint b…
alkemist authored Dec 23, 2011
70 if (jointBuildGroovyJarProperty) {
71 jointBuildGroovyJar = file(jointBuildGroovyJarProperty)
72 if (jointBuildGroovyJar.exists()) {
73 groovyDependency = dependencies.create(files(jointBuildGroovyJar))
74 } else {
75 throw new GradleException("The groovy.jar system property points to ${jointBuildGroovyJar.absolutePath} which does not exist.")
3ae39a1 @jeffbrown Improve the handling of the groovy.jar system property
jeffbrown authored Dec 23, 2011
76 }
305746b @pledbrook Groovy was not appearing as a dependency in the artifacts' POMs, so i…
pledbrook authored Mar 4, 2011
77 } else {
6f0c9bc @alkemist [build] Simplified management of Groovy jar WRT grails/groovy joint b…
alkemist authored Dec 23, 2011
78 groovyDependency = dependencies.create("org.codehaus.groovy:groovy-all:${groovyVersion}") {
79 exclude module:"commons-cli"
80 exclude module:"ant"
81 }
b5edff2 @alkemist First cut at upgrading to Gradle 1.0-milestone-6.
alkemist authored Dec 9, 2011
82 }
5dc34a6 @alkemist [build] fix for sources jar task
alkemist authored Dec 11, 2011
83
84 allprojects {
85 repositories {
86 maven { url "http://repo.grails.org/grails/core" }
0d91c09 @jeffbrown use spock 0.7-groovy-2.0-SNAPSHOT
jeffbrown authored Jun 1, 2012
87 // TODO configure this as a remote for repo.grails.org so we don't need this here...
88 maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
5dc34a6 @alkemist [build] fix for sources jar task
alkemist authored Dec 11, 2011
89 }
90
91 configurations {
92 all {
93 resolutionStrategy {
0863912 @graemerocher only use mavenLocal() for non-CI builds
graemerocher authored Feb 15, 2013
94 def cacheHours = isCiBuild ? 1 : 24
95 cacheDynamicVersionsFor cacheHours, 'hours'
96 cacheChangingModulesFor cacheHours, 'hours'
5dc34a6 @alkemist [build] fix for sources jar task
alkemist authored Dec 11, 2011
97 }
98 }
99 }
7c459eb @graemerocher Addresses javadoc/groovydoc vulnerability http://www.oracle.com/techn…
graemerocher authored Jun 19, 2013
100 // this will apply the javadoc fix tool to all generated javadocs
101 // we use it to make sure that the javadocs are not vulnerable independently of the JDK used to build
102 [Javadoc, Groovydoc].each {
103 tasks.withType(it).all {
104 doLast {
105 def javadocFix = new JavadocFixTool()
106 javadocFix.recursive = true
107 javadocFix.doPatch = true
108 javadocFix.searchAndPatch(destinationDir)
109 }
110 }
111
112 }
5dc34a6 @alkemist [build] fix for sources jar task
alkemist authored Dec 11, 2011
113 }
114
3bf0caf @alkemist Improve the idea metadata generation by the build system.
alkemist authored Oct 24, 2012
115 apply from: "gradle/idea.gradle"
744e0ab @alkemist [build] Let IDEA know this is a Git project.
alkemist authored Apr 14, 2012
116
6d7b0f8 @graemerocher enhanced the gradle install command to also install into GRAILS_HOME/…
graemerocher authored Feb 22, 2011
117 subprojects { project ->
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
118 apply plugin: 'groovy'
119 apply plugin: 'maven'
c2c3421 @graemerocher the root project is no longer a groovy project, custom assemble task …
graemerocher authored Feb 23, 2011
120 apply plugin: 'eclipse'
121 apply plugin: 'idea'
c1535be @graemerocher re-organization of dependency definitions so only the subprojects tha…
graemerocher authored May 16, 2011
122 apply plugin: 'project-report'
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
123 apply plugin: 'signing'
b298314 @lhotari GRAILS-8052 Updated Junit to 4.9 version. Excluded transient dependen…
lhotari authored Sep 21, 2011
124 //apply plugin: 'duplicates'
c434df7 @graemerocher some fixes to the tests, removed redundant IML file
graemerocher authored Feb 22, 2011
125
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
126 sourceCompatibility = "1.5"
127 targetCompatibility = "1.5"
128 archivesBaseName = 'grails'
129 version = grailsVersion
4a69917 @burtbeckwith whitespace, STS warnings, etc.
burtbeckwith authored May 27, 2011
130 group = "org.grails"
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
131
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
132 ext.isCiBuild = project.hasProperty("isCiBuild")
4881bcf @alkemist [build] Update build to use new cache ttl api in Gradle.
alkemist authored Dec 10, 2011
133
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
134 manifest.mainAttributes(
135 "Built-By": System.properties['user.name'],
136 "Created-By": System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
137 "Implementation-Title": "Grails",
138 "Implementation-Version": grailsVersion,
139 "Implementation-Vendor": 'grails.org')
140
faafb32 @graemerocher fixed merged changes in build.gradle
graemerocher authored Feb 22, 2011
141
c2c3421 @graemerocher the root project is no longer a groovy project, custom assemble task …
graemerocher authored Feb 23, 2011
142 configure([compileGroovy, compileTestGroovy]) {
143 groovyOptions.fork(memoryInitialSize: '128M', memoryMaximumSize: '1G')
144 groovyOptions.encoding = "UTF-8"
380f9c9 @jeffbrown gradle useAnt=true
jeffbrown authored Jun 28, 2012
145 groovyOptions.useAnt = true
146 options.useAnt = true
c2c3421 @graemerocher the root project is no longer a groovy project, custom assemble task …
graemerocher authored Feb 23, 2011
147 }
148
149 configure([compileJava, compileTestJava]) {
150 options.deprecation = true
151 options.debug = true
152 }
153
744e0ab @alkemist [build] Let IDEA know this is a Git project.
alkemist authored Apr 14, 2012
154 idea {
155 module.iml.whenMerged { module ->
156 // adding slf4j-simple with scope TEST to .iml
157 module.dependencies << new org.gradle.plugins.ide.idea.model.ModuleLibrary(
158 [new org.gradle.plugins.ide.idea.model.Path("jar://\$GRADLE_USER_HOME/cache/org.slf4j/slf4j-simple/jars/slf4j-simple-${slf4jVersion}.jar!/")], [], [], [], "TEST"
159 )
160 }
fb0aaf0 @sarmbruster injecting slf4j-simple library into generated IntelliJ idea module fi…
sarmbruster authored Jul 28, 2011
161 }
e1110b5 @hansd Changed build to use a virtual repository at repo.gradle.org.
hansd authored Apr 1, 2011
162
0863912 @graemerocher only use mavenLocal() for non-CI builds
graemerocher authored Feb 15, 2013
163 repositories {
164 if(!isCiBuild) {
165 mavenLocal()
166 }
167 }
168
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
169 dependencies {
6f0c9bc @alkemist [build] Simplified management of Groovy jar WRT grails/groovy joint b…
alkemist authored Dec 23, 2011
170 groovy groovyDependency
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
171
09d25f0 @pledbrook Add Gradle tasks for gdoc publishing.
pledbrook authored Nov 18, 2011
172 if (project.name != "grails-docs") {
173 // Logging
174 compile "org.slf4j:slf4j-api:$slf4jVersion"
175 compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
176
09d25f0 @pledbrook Add Gradle tasks for gdoc publishing.
pledbrook authored Nov 18, 2011
177 // Specs
8627a48 @graemerocher fix for GRAILS-8258 "Unit test with Async in Grails 2.0.0.RC1"
graemerocher authored Mar 23, 2012
178 compile 'javax.servlet:javax.servlet-api:3.0.1'
09d25f0 @pledbrook Add Gradle tasks for gdoc publishing.
pledbrook authored Nov 18, 2011
179 compile 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final'
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
180
181
09d25f0 @pledbrook Add Gradle tasks for gdoc publishing.
pledbrook authored Nov 18, 2011
182 // Testing
183 testCompile "junit:junit:${junitVersion}"
106996c @jeffbrown use spock :0.7-groovy-2.0
jeffbrown authored Oct 12, 2012
184 testCompile("org.spockframework:spock-core:${spockVersion}") {
09d25f0 @pledbrook Add Gradle tasks for gdoc publishing.
pledbrook authored Nov 18, 2011
185 transitive = false
186 }
352b29e @graemerocher add spock to test compile path
graemerocher authored Mar 1, 2011
187 }
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
188 }
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
189
1442c04 @pledbrook Removed tabs from build.gradle (and trimmed whitespace from ends of l…
pledbrook authored Feb 24, 2011
190 test {
191 excludes = ["**/*TestCase.class", "**/*\$*.class"]
192 }
f01ceaa @graemerocher Now creating source and javadoc jar files
graemerocher authored Feb 23, 2011
193
3eef48f @alkemist Don't compile the project just to create a source jar.
alkemist authored Nov 27, 2011
194 task sourcesJar(type: Jar) {
f01ceaa @graemerocher Now creating source and javadoc jar files
graemerocher authored Feb 23, 2011
195 classifier = 'sources'
196 appendix = project.name[7..-1]
197 from sourceSets.main.allSource
198 }
199
200 task javadocJar(type: Jar, dependsOn:javadoc) {
201 classifier = 'javadoc'
202 appendix = project.name[7..-1]
203 from javadoc.destinationDir
204 }
205
4a69917 @burtbeckwith whitespace, STS warnings, etc.
burtbeckwith authored May 27, 2011
206 groovydoc.doLast {
207 delete("${buildDir}/tmp")
208 }
a9878e1 @graemerocher cleanup tmp directory after groovydoc task and increase permgen to fi…
graemerocher authored May 13, 2011
209
dcb6008 @alkemist Move the javadoc and source jars onto a new gradle configuration name…
alkemist authored Apr 5, 2011
210 configurations {
211 meta
a624cc1 @alkemist Added a new configuration “published” that extends “archives” and “me…
alkemist authored Aug 25, 2011
212 published.extendsFrom archives, meta
7f8c0ff @alkemist whitespace
alkemist authored Oct 20, 2011
213 all*.exclude group:'commons-logging', module: 'commons-logging'
dcb6008 @alkemist Move the javadoc and source jars onto a new gradle configuration name…
alkemist authored Apr 5, 2011
214 }
215
f01ceaa @graemerocher Now creating source and javadoc jar files
graemerocher authored Feb 23, 2011
216 artifacts {
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
217 archives jar
92a87df @graemerocher fixes signing of javadoc/source jars
graemerocher authored Mar 19, 2012
218 archives sourcesJar
219 archives javadocJar
f01ceaa @graemerocher Now creating source and javadoc jar files
graemerocher authored Feb 23, 2011
220 }
ee4ba5b @graemerocher Attempt 1 at Gradle to Artifactory deployment
graemerocher authored May 16, 2011
221
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
222 signing {
223 sign configurations.archives
5c6c4b7 @graemerocher update version to 2.1 rc1
graemerocher authored May 10, 2012
224 required { !isBuildSnapshot && gradle.taskGraph.hasTask(uploadPublished) }
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
225 }
226
a624cc1 @alkemist Added a new configuration “published” that extends “archives” and “me…
alkemist authored Aug 25, 2011
227 uploadPublished {
ee4ba5b @graemerocher Attempt 1 at Gradle to Artifactory deployment
graemerocher authored May 16, 2011
228 repositories {
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
229 repositories {
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
230 project.ext.deployer = mavenDeployer {
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
231 beforeDeployment { MavenDeployment deployment -> signPom(deployment) }
232
233 repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
44a005f @graemerocher check for existence of property before reading
graemerocher authored Mar 19, 2012
234 authentication(userName: project.hasProperty("sonatypeUsername") ? project.sonatypeUsername : null,
235 password: project.hasProperty("sonatypePassword") ? project.sonatypePassword : null)
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
236 }
237 snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
44a005f @graemerocher check for existence of property before reading
graemerocher authored Mar 19, 2012
238 authentication(userName: project.hasProperty("sonatypeUsername") ? project.sonatypeUsername : null,
239 password: project.hasProperty("sonatypePassword") ? project.sonatypePassword : null)
aac8b64 @graemerocher support for publishing to Sonatype OSS repo
graemerocher authored Mar 19, 2012
240 }
241
242 pom.project {
243 name 'Grails'
244 packaging 'jar'
245 description 'Grails Web Application Framework'
246 delegate.url 'http://grails.org/'
247
248 scm {
249 delegate.url 'scm:git@github.com:grails/grails-core.git'
250 connection 'scm:git@github.com:grails/grails-core.git'
251 developerConnection 'scm:git@github.com:grails/grails-core.git'
252 }
253
254 licenses {
255 license {
256 name 'The Apache Software License, Version 2.0'
257 delegate.url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
258 distribution 'repo'
259 }
260 }
261
262 developers {
263 developer {
264 id 'graemerocher'
265 name 'Graeme Rocher'
266 }
267 developer {
268 id 'jeffscottbrown'
269 name 'Jeff Brown'
270 }
271 }
272 }
273 }
ee4ba5b @graemerocher Attempt 1 at Gradle to Artifactory deployment
graemerocher authored May 16, 2011
274 }
275 }
276 }
0b4429a @alkemist Add modifyPom(Closure) utility to build scripts for POM fine tuning.
alkemist authored May 26, 2011
277
278 /*
279 Install a method that can be used to fine tune the poms, e.g…
c189fa5 @jeffbrown version 2.2.5
jeffbrown authored Mar 3, 2014
280
0b4429a @alkemist Add modifyPom(Closure) utility to build scripts for POM fine tuning.
alkemist authored May 26, 2011
281 modifyPom { pom ->
282 pom.dependencies.removeAll(pom.dependencies.findAll { it.scope == "test" })
283 }
c189fa5 @jeffbrown version 2.2.5
jeffbrown authored Mar 3, 2014
284
4ed630a @alkemist Added note about type of arg to modifyPom()
alkemist authored May 26, 2011
285 Mods are run in order they are encountered in the build script.
c189fa5 @jeffbrown version 2.2.5
jeffbrown authored Mar 3, 2014
286
4ed630a @alkemist Added note about type of arg to modifyPom()
alkemist authored May 26, 2011
287 The pom argument is of the following type:
288 http://maven.apache.org/ref/2.2.1/maven-model/apidocs/org/apache/maven/model/Model.html
0b4429a @alkemist Add modifyPom(Closure) utility to build scripts for POM fine tuning.
alkemist authored May 26, 2011
289 */
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
290 ext {
291 poms = [project.install.repositories.mavenInstaller.pom, project.deployer.pom]
292 pomModifications = []
293 modifyPom = { Closure modification -> project.pomModifications << modification }
294 poms*.whenConfigured {
295 pomModifications*.call(it)
296 }
830d374 @alkemist Map the groovy dependency to the maven “compile” scope in our publish…
alkemist authored Oct 24, 2012
297
298 // Map the groovy gradle configuration to the “compile” scope in our published POMs
299 def groovyConfiguration = project.configurations.findByName("groovy")
300 if (groovyConfiguration) {
301 poms.each {
302 it.scopeMappings.addMapping(1, groovyConfiguration, "compile")
303 }
304 }
0b4429a @alkemist Add modifyPom(Closure) utility to build scripts for POM fine tuning.
alkemist authored May 26, 2011
305 }
9873bd6 @alkemist Upgrade build to Gradle m9.
alkemist authored Mar 27, 2012
306
8333442 @alkemist Instead of using a separate configuration for the agent to avoid it b…
alkemist authored Jan 10, 2012
307 // Remove any dependencies that shouldn't be included in the POM
308 modifyPom { pom ->
309 configurations.runtime.allDependencies.each { dependency ->
310 if (dependency.hasProperty("notInPom") && dependency.notInPom) {
311 pom.dependencies.removeAll { it.groupId == dependency.group && it.artifactId == dependency.name }
312 }
313 }
314 }
c9ba376 @graemerocher First steps into multi project build refactor. Moved grails-bootstrap…
graemerocher authored Feb 16, 2011
315 }
316
a551f4c @alkemist Turned the clean task into a proper delete task.
alkemist authored Aug 25, 2011
317 task clean(type: Delete) {
318 delete buildDir,
319 homeBinDir,
320 homeConfDir,
321 homeDistDir,
322 homeDslSupportDir,
323 homeLibDir,
fc745d6 @alkemist Reworked the assemble type targets to be more idiomatic Gradle and cl…
alkemist authored Aug 25, 2011
324 homeSrcDir
89a2d32 Added single test execution. Changed output destination to be the sam…
hd authored Jan 19, 2010
325 }
326
f4e132e @alkemist Add a task for showing the dependencies of all projects.
alkemist authored Oct 20, 2011
327 task allDependencies(dependsOn: { subprojects*.implicitTasks*.dependencies })
328
776d3af @alkemist Self contain all of the install/dist stuff into assemble.gradle.
alkemist authored Aug 25, 2011
329 // From this point on we need the subprojects to be fully configured, so force their full evaluation
330 subprojects.each { evaluationDependsOn it.path }
4e9c9f1 @graemerocher deleted bin, conf and junit style sheets and made it so they are put …
graemerocher authored Feb 28, 2011
331
776d3af @alkemist Self contain all of the install/dist stuff into assemble.gradle.
alkemist authored Aug 25, 2011
332 apply {
333 from 'gradle/docs.gradle' // tasks for building the documentation (e.g. user guide, javadocs)
334 from 'gradle/assemble.gradle' // tasks for creating an installation or distribution
0b0722b @lhotari Fixed findbugs task in gradle build
lhotari authored Sep 1, 2011
335 from 'gradle/findbugs.gradle'
39e7d7e @pledbrook Upgrade Spring Loaded dependency to 1.0.1.
pledbrook authored Oct 17, 2011
336 }
2074e70 @jeffbrown GRAILS-8270 - Include grails-datastore-* source jars in the distribution
jeffbrown authored Nov 26, 2011
337
051f937 @alkemist [build] Update to latest gradle snapshot, as it's slightly faster at …
alkemist authored Dec 14, 2011
338 task wrapper(type: Wrapper) {
317163b @jeffbrown generate Gradle 1.1 wrapper
jeffbrown authored Aug 17, 2012
339 gradleVersion = '1.1'
f23d350 @jeffbrown Gradle 1.0 Wrapper
jeffbrown authored Jun 28, 2012
340 jarFile = 'gradle/wrapper/gradle-wrapper.jar'
051f937 @alkemist [build] Update to latest gradle snapshot, as it's slightly faster at …
alkemist authored Dec 14, 2011
341 }
Something went wrong with that request. Please try again.