You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/05/16 22:27:37 UTC
git commit: Tweak the build file for compatibility with Gradle
1.0-rc-3
Updated Branches:
refs/heads/master 6bd952865 -> 09bbb38c7
Tweak the build file for compatibility with Gradle 1.0-rc-3
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/09bbb38c
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/09bbb38c
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/09bbb38c
Branch: refs/heads/master
Commit: 09bbb38c79b1e73504f7a35c0db54b50692abc6c
Parents: 6bd9528
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Wed May 16 13:27:27 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed May 16 13:27:27 2012 -0700
----------------------------------------------------------------------
tapestry-core/build.gradle | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/09bbb38c/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 9cd81cd..6c6e26d 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -55,16 +55,11 @@ task generateGrammarSource(type: JavaExec) {
ideaModule.dependsOn generateGrammarSource
-ideaModule.doFirst {
+def generatedDir = file("$buildDir/generated-sources")
- excludeDirs -= buildDir
+def buildMinusGeneratedDir = (buildDir.listFiles() - generatedDir) as Set<File>
- def generatedDir = file("$buildDir/generated-sources")
-
- def buildMinusGeneratedDir = (buildDir.listFiles() - generatedDir) as Set<File>
-
- excludeDirs += buildMinusGeneratedDir
-}
+idea.module.excludeDirs += buildMinusGeneratedDir
compileJava.options.fork(memoryMaximumSize: '512m')
compileJava.dependsOn generateGrammarSource